Avoiding bad sectors?

Daniel O'Connor doconnor at gsoft.com.au
Mon Aug 21 05:12:40 UTC 2006

On Sunday 20 August 2006 19:57, Roman Kurakin wrote:
> >Heh, well not necessarily although I personally would be shopping..
> >
> >If the disk gets a dud sector and can't read it it won't remap it until
> > you write to it. (I've seen this happen and someone else posted about it
> > too)    
> 1) So why not just dd seek=xx count=1 to it to    perform a write?
> 2) Before some one would read it, some one should write to it...
> Have I missed smth?

1) It's just swap, it's less thinking to nuke the whole partition
2) The command dd's from /dev/zero to the disk.

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060821/f380507f/attachment-0001.pgp

More information about the freebsd-current mailing list