From: drdrums@mozart.ucr.edu (Jonathan Ward) Subject: Re: [Q] Marking an area as bad Date: 25 Apr 1993 01:41:22 GMT
In article <968@thunder.LakeheadU.Ca> pmkierst@flash.LakeheadU.Ca
writes:
>
> I have recently gained a bad sector or four on one of my
partitions, it seems.
> Luckily, it was in the temp partition. For now, it is just
unmounted, but
> can anybody tell me how to go about tracking down and marking the
sectors
> as bad under Linu Right now, it is a minix partition, but that
could be
> changed, of course.
>
> Paul Kierstead
> pmkierst@flash.lakeheadu.ca
I believe that the mkfs(and its mke2fs counterpart) will locate the
offending sectors when used with the -c option(don't take my word,
check the man page first, but I believe that it is correct). Just be
sure to save any important data before remaking the file system.
-Jonathan Ward
University of California, Riverside