"i'm using an hard disk with some bad blocks.....
what is the best command & parameter to flag these blocks as permanently
unusable ?"
If you are creating an ext2 or ext3 file system I recommend that you use mke2fs with the -c option. See:
man mke2fs
If you are using reiserfs then you should use badblocks to create a file of bad blocks. Then feed the bad block file to mkreiserfs using the -B option. See:
man mkreiserfs
badblocks will find and list bad blocks but it will not fix them. See:
man badblocks
---------------------------
Steve Stites
|