Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

From: Theodore Tso (tytso@valinux.com)
Date: Tue Jun 26 2001 - 18:49:19 EST


On Tue, Jun 26, 2001 at 12:25:32AM +0200, Daniel Phillips wrote:
> > This is only true without the COMPAT_DIR_INDEX flag. Since e2fsck _needs_
> > to know about every filesystem feature, it will (correctly) refuse to touch
> > such a system for now. You could "tune2fs -O ^FEATURE_C4 /dev/hdX" to
> > turn of the COMPAT_DIR_INDEX flag and let e2fsck go to town. That will
> > break all of the directory indexes, I believe.
>
> This is what he wants, a workaround so he can fsck. However, the above
> command (on version 1.2-WIP) just gives me:
>
> Invalid filesystem option set: ^FEATURE_C4
>
> Maybe he should just edit the source so it doesn't set the superblock flag
> for now.

I haven't had a chance to analyze the directory index format to see if
an-dirindexing-ignorant e2fsck could do any damage to the index. It's
probably the case as long as the filesystem isn't corrupted, simply
modifying e2fsck to ignore the compatibility flag won't hurt. But
it's certainly not something I would recommend for any kind of
production operation.

                                                - Ted

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



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:15 EST