Re: ext3 vs resiserfs vs xfs

From: Andrew Morton (akpm@zip.com.au)
Date: Wed Nov 07 2001 - 17:59:20 EST


Mike Fedyk wrote:
>
> On Wed, Nov 07, 2001 at 02:00:53PM -0800, Andrew Morton wrote:
> > Mike Fedyk wrote:
> > >
> > > I have a switch "data=journal" that ext2 will choke on when I boot into an
> > > ext2 only kernel.
> > >
> > > Is there another way to change the journaling mode besides modifying
> > > /etc/fstab?
> >
> > Try adding `rootflags=data=journal' to your kernel boot
> > commandline.
> >
>
> Oh, JOY!
>
> 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!
>

It's dumb that an unrecognised option be a fatal error. Same
problem with modules, actually. If you add a new module option
to modules.conf and then go back to an older kernel your module
won't load (here's where kaos pokes me with the rtfm stick).

You can create a second entry in lilo.conf which refers to the same
kernel image, but which doesn't have the rootflags option.

-
-
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 : Wed Nov 07 2001 - 21:00:36 EST