From: card@masi.ibp.fr (Remy CARD) Subject: Re: [Q] Marking an area as bad Date: Wed, 28 Apr 1993 03:32:00 GMT
In article <1rd1suINNs9q@shelley.u.washington.edu> jars@carson.u.washington.edu (Juan Rodriguez-Sero) writes:
>
>I thought the intended meaning was: "Can anybody tell how to go about track-
>ing down and marking the sectors as bad under Linux WITHOUT HAVING TO REMAKE
>THE WHOLE PARTITION."
>
>Remaking the partition is, of course, possible; but marking bad sectors as
>bad without having to go to such trouble would be really interesting. I
>would be very interested myself in that.
>
If you use ext 2 fs you can do that :-)
Simply run e2fsck with the -c (check for bad blocks on the fs) or
-b filename (read bad blocks list from a file) and it will take the new
bad blocks into account WITHOUT the need of recreating the file system.
>
>
>Juan Antonio Rodriguez-Sero | They who can give up essential liberty
> | to obtain temporary safety
>Seattle, Washington, U. S. A. | deserve neither liberty nor safety.
>jars@u.washington.edu |
> | Benjamin Franklin
Remy