Re: ext3 IO latency measurements (was: Linux 2.6.29)

From: Bill Nottingham
Date: Fri Mar 27 2009 - 09:50:48 EST


Linus Torvalds (torvalds@xxxxxxxxxxxxxxxxxxxx) said:
> > Well, it's got to find the root fs options somewhere. Pulling them
> > from the modified /etc/fstab in the root fs before you mount it, well...
>
> Umm.
>
> The _only_ sane thng to do is to mount the root read-only from initramfs,
> and then re-mount it with the options in the /etc/fstab later when you
> re-mount it read-write _anyway_ (which may possibly be immediately, of
> course).

Sure, and as said, as soon as you try to specify journal options (and
possibly others), this immediately fails. You can apply the options
one at a time, and decide some aren't fatal, or you can actually have
your later remount have code to drop specific options, requiring
implementation knowledge of any filesystem to be used. Or you say
people who specify journal options in fstab don't get to boot.

But if you blindly attempt to apply fstab options later in the remount,
some options will break.

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