software for erasing bad sectors from pen drive

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Jun 27 14:14:12 UTC 2006


Ankush Grover wrote:
> hey friends,
> 
> Is there any software available on Linux which can erase or block bad
> sectors on pen drive and hard disk ?   I am using FC3.
> 
> Thanks & Regards
> 
> Ankush Grover
> 
It depends on the file system being used. For the FAT16 usualy used
on pan drives, you could try "docfsck -t <partition>". For ext2/3
file systems, you can run "e2fsck -c <partition>".

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the users mailing list