badblocks command corrects?

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Alan Dayley
Päiväys:  
Vastaanottaja: plug-discuss
Aihe: badblocks command corrects?
The 'badblocks' command is called by fsck to assist its goal of checking
the filesystem. 'badblocks' can also be called directly from the command
line. (See 'man badblocks' or
'http://www.die.net/doc/linux/man/man8/badblocks.8.html' for further
instructions on the command.)

The command line of 'badblocks' allows the bad block checking to run
against a "file" on the disk. The file can be a file
(/home/user/testfile.bin), a partition (/dev/hdb1) or a device (/dev/hdb).

Question: Given that no filesystem on hdb is mounted and the command
'badblocks /dev/hdb' does badblocks attempt to "map out" any badblocks
found?

I'm about to dive into the source to answer my question but wanted to ask
the group in case someone already knows the answer.

Alan



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss