Re: EXT2 and BadBlock updating.....

Ed Carp (erc@pobox.com)
Tue, 11 Apr 2000 16:51:05 -0500


Stephen C. Tweedie (sct@redhat.com) writes:

> No, I said that there was no way to get the kernel to add to the
> badblocks list automatically. You have to do it from user space:
> e2fsck has options to add specific blocks to the bad block list, or
> to do a surface scan and add any bad blocks it finds. It can even
> relocate critical fs structures like bitmaps around any bad blocks
> it finds.

Can e2fsck add to the badblock list of a mounted file system? This would be
useful for the case where the kernel detects a bad block, makes an entry in
/proc somewhere, and a userland program sees it, runs e2fsck to add the bad
block, and the ext2 driver sees it and does the right thing.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/