From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Miell Subject: Re: relatime in /etc/fstab on FC8 Date: Tue, 04 Mar 2008 08:50:10 +0000 Message-ID: <1204620610.2439.10.camel@entropy> References: <20080303205452.8864c46d.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org To: Andrew Morton Return-path: Received: from qmta01.emeryville.ca.mail.comcast.net ([76.96.30.16]:47770 "EHLO QMTA01.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752242AbYCDIuN (ORCPT ); Tue, 4 Mar 2008 03:50:13 -0500 In-Reply-To: <20080303205452.8864c46d.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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