disk repair

Duston, Hal hdusto01 at sprintspectrum.com
Tue Jul 2 22:41:46 CDT 2002


dattaway at attaway.net [mailto:dattaway at attaway.net] wrote:
> 
> > Okay.. I know that fsck will do some basic repair on a 
> > disk.  Is there any other programs that will go through 
> > a disk and read the contents ignoring errors or at least 
> > prompting to skip them?
> 
> fsck?
> 
> Yes, it can!
> 
> assuming your doing this on the first partition of the first 
> ide drive...
> 
> The -a option is your friend
> 
> fsck -a /dev/hda1
> 
> another way to do it is introduce it to Dr. Yes:
> 
> yes | fsck -a /dev/hda1

Actually, fsck doesn't repair a _disk_, but rather a _filesystem_

If a disk has bad blocks or the like on it fsck does nothing
about that.  So . . . the question is which needs to be repaired.

Hal




More information about the Kclug mailing list