* relatime in /etc/fstab on FC8
@ 2008-03-04 4:54 Andrew Morton
2008-03-04 8:50 ` Nicholas Miell
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2008-03-04 4:54 UTC (permalink / raw)
To: linux-fsdevel
I'm all confused. When I change my fc8 machine's fstab to
LABEL=/ / ext3 relatime 1 1
the machine won't boot - ext3 claims to not recognise the mount option.
But putting "commit=100" in there works OK, as does running `mount
-oremount,relatime' after it has booted. relatime is a vfs option, not a
fs option, but should that matter?
It'll be due to me running `/sbin/new-kernel-pkg --mkinitrd', which takes
things out of /etc/fstab and stuffs them into initrd.
I fell I'm missing something obvious here. Help?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: relatime in /etc/fstab on FC8
2008-03-04 4:54 relatime in /etc/fstab on FC8 Andrew Morton
@ 2008-03-04 8:50 ` Nicholas Miell
2008-03-04 9:12 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Miell @ 2008-03-04 8:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-fsdevel
On Mon, 2008-03-03 at 20:54 -0800, Andrew Morton wrote:
> I'm all confused. When I change my fc8 machine's fstab to
>
> LABEL=/ / ext3 relatime 1 1
>
> the machine won't boot - ext3 claims to not recognise the mount option.
> But putting "commit=100" in there works OK, as does running `mount
> -oremount,relatime' after it has booted. relatime is a vfs option, not a
> fs option, but should that matter?
>
> It'll be due to me running `/sbin/new-kernel-pkg --mkinitrd', which takes
> things out of /etc/fstab and stuffs them into initrd.
>
> I fell I'm missing something obvious here. Help?
The nash mount builtin doesn't understand the relatime mount option and
consequently can't pass the MS_RELATIME flag to mount(2).
Fedora kernels are patched to mount every filesystem with norelatime.
--
Nicholas Miell <nmiell@comcast.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: relatime in /etc/fstab on FC8
2008-03-04 8:50 ` Nicholas Miell
@ 2008-03-04 9:12 ` Andrew Morton
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2008-03-04 9:12 UTC (permalink / raw)
To: Nicholas Miell; +Cc: linux-fsdevel
On Tue, 04 Mar 2008 08:50:10 +0000 Nicholas Miell <nmiell@comcast.net> wrote:
>
> On Mon, 2008-03-03 at 20:54 -0800, Andrew Morton wrote:
> > I'm all confused. When I change my fc8 machine's fstab to
> >
> > LABEL=/ / ext3 relatime 1 1
> >
> > the machine won't boot - ext3 claims to not recognise the mount option.
> > But putting "commit=100" in there works OK, as does running `mount
> > -oremount,relatime' after it has booted. relatime is a vfs option, not a
> > fs option, but should that matter?
> >
> > It'll be due to me running `/sbin/new-kernel-pkg --mkinitrd', which takes
> > things out of /etc/fstab and stuffs them into initrd.
> >
> > I fell I'm missing something obvious here. Help?
>
> The nash mount builtin doesn't understand the relatime mount option and
> consequently can't pass the MS_RELATIME flag to mount(2).
>
OIC. Thanks. That's pretty obnoxious. It'd be saner to put a copy of mount(8)
into the initrd?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-04 9:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04 4:54 relatime in /etc/fstab on FC8 Andrew Morton
2008-03-04 8:50 ` Nicholas Miell
2008-03-04 9:12 ` Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.