Re: ext3 vs resiserfs vs xfs

Mike Fedyk (mfedyk@matchmail.com)
Wed, 7 Nov 2001 15:49:13 -0800


On Wed, Nov 07, 2001 at 03:38:05PM -0800, Mike Castle wrote:
> On Wed, Nov 07, 2001 at 02:52:29PM -0800, Mike Fedyk wrote:
> > On Wed, Nov 07, 2001 at 02:00:53PM -0800, Andrew Morton wrote:
> > > Try adding `rootflags=data=journal' to your kernel boot
> > > commandline.
> >
> > adding that line to an ext2 only kernel will make it kernel panic when it
> > tries to mount root because it doesn't understand the option!
>
>
> So set that option only for ext3 enabled kernels. If you're using lilo,
> instead of using a global append= setting, use a local one for that ext3
> kernel, and leave it off for the ext2-only kernel.
>

Yep, I know how to work around the problem.

The question is: why do I *need* to have to do that???

One of the features of ext3 is the backwards compatibility with ext2, but if
you choose to take advantage of ext3 (non default journal mode) to its full
capabilities, ext2 borks on those settings.

With careful consideration, this problem can be avoided with everything the
way it is now, but it is a bit of a hassle...

Though, with non ext3 you wouldn't even have the possibility of mounting the
FS without the correct FS driver loaded...

I think the easiest way to avoid this problem would be a compile time option
to set the default journal mode. But, that would add another question the ext3
developers would have to ask... "what is your default journal mode"... But
they probably already have to ask that since it's settable from kernel
command line, and /etc/fstab...

Mike
-
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/