-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 e2fsck -c /dev/device will do just this. you can even see its progress with a - -v (verbose). Mage On Wednesday 14 May 2003 11:58 pm, AZ Pete wrote: > Hi all, > > Is there a util in Linux that will perform a surface scan of a hard disk to > locate bad sectors and mark them as unusable? > Something similar to Windows Scandisk util. > I recall during the Redhat installation routine there was a check box that > I could select to perform a surface scan. What utility does this? > I have a hard drive I'm trying to get data from but there are a few bad > sectors and as a result I'm unable to pull an image of the drive. I would > like to mark those sectors as bad, so I can then pull the image and get > most of the data off the drive. > > I tried using fsck, but it only seems to check if the filesystem is > contiguous. It says that the filesystem is clean. > > Any help would be appreciated. > Peter > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss - -- I will not be pushed, filed, stamped, indexed, briefed, debriefed, or numbered! My life is my own - No. 6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+w2PDn/usgigAaLcRApn6AJwPXm+3L99oojPsLwlLQ4JfVjZTcwCdEJW5 vOF+Xjj6lZ11FI+RfydvA44= =tb36 -----END PGP SIGNATURE-----