On Mon, Feb 25, 2002 at 06:47:44PM +0100, Martin Knoblauch
<[EMAIL PROTECTED]> wrote:
> Hmm. Isn't "badblocks -n" supposed to write?
I don't know. The manpage doesn't mention writing to bad blocks with -n.
You might want to do
dd if=/dev/hdx of=/dev/hdx bs=512 conv=sync,noerror
to re-write the whole disk and zero-out unreadable blocks. Or you can use
if=/dev/zero seek=lba-block-offset-in-bytes to zero out only the block in
the syslog.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|