On Mon, 2002-08-19 at 06:20, Oleg Drokin wrote:
> Hello!
> 
> On Mon, Aug 19, 2002 at 02:07:26PM +0400, Hans Reiser wrote:
> 
> > >He suggests that user should specify list of bad blocks each time user runs
> > >reiserfsck.
> > This sounds reasonable.  You can probably even have a default location 
> 
> Not for me.
> 
> > to check for the list somewhere in /etc if you want.  Remind the user 
> 
> File can get corrupted too.

You'd have to include some kind of checksum of the bad blocks lists to
make sure it was valid, regardless of where you stored it.  The problem
is that if you store it in the tree somehow, you've got a chicken and
egg problem that you can't read the list until the tree is good and you
can read the tree without knowing which blocks are bad.

It needs to be stored outside the btree, in its own data structure.

This could be a file on a different filesystem, or on a floppy, or in
something special you put into the FS.

-chris


Reply via email to