It doesn't even catch the errors it reports. I have to disagree,
mke2fs (with the -c option) doesn't do anything about the bad blocks.
Example: I was reformatting a drive the other day and had a HOST of
errors. In one window I had a "tail -f /var/log/kernel" running,
watching the errors appear:
hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=306946, sector=306945
end_request: I/O error, dev 03:41, sector 306945
Then after all is said and done, I do a "dd if=/dev/zero of=/dev/hdb"
and sure enough, I get errors in the exact same locations.
If mke2fs was mapping (or marking) those blocks away, I wouldn't get
the error again, would I? Or am I missing something vital here?
N!
------------------------------------------------------------------------------
Nicholas J. Leon nicholas@binary9.net
"Elegance through Simplicity" http://www.binary9.net/nicholas
"Allow me to introduce myself, my name is
Wile E. Coyote, Soopah-Genius."