Re: 9.1-RC3 LiveCD missing features

From: Ulrich Spörlein <uqs_at_FreeBSD.org>
Date: Mon, 10 Dec 2012 15:21:44 +0100
On Fri, 2012-12-07 at 16:11:37 -0600, Chuck Burns wrote:
> On 12/7/2012 3:50 PM, CeDeROM wrote:
> > Hello :-)
> >
> > I have tried to chceck for badblocks on my / but I did not find badblocks
> > program on LiveCD and there is no option to install it. This is very useful
> > utility, please add it as part of LiveCD :-)
> >
> > Also there is a problem with DHCP based workstations using LiveCD -
> > although interface gets configured it is impossible to update
> > /etc/resolv.conf (by dhclient and by hand) and so this workstation pretty
> > useless for IPv4 (is it more usable on IPv6?). Please update :-)
> >
> > Thank you :-)
> > Tomek
> >
> > --
> > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> >
> 
> dd if=/dev/zer of=/dev/ada0
> 
> ^^^ There's your "badblocks" program.  Any hard drive made in the last 
> decade have been self-remapping..  Attempting to write to a bad block 
> will cause the hard drive to remap an unused sector into it's place, 
> until the drive runs out of said "unused" backup sectors, and at that 
> time, will begin simply begin just "losing" storage space... IE the 
> number of total sectors on the drive will begin to shrink.

Nah, use recoverdisk(1) to either zero the target disk or do a
read/write cycle on every sector. It should be way faster, especially
with dieing disks (but why would you want to make them work again, you
should buy a new disk ASAP instead).

hth
Uli
Received on Mon Dec 10 2012 - 13:21:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC