From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: relatime in /etc/fstab on FC8 Date: Tue, 4 Mar 2008 01:12:36 -0800 Message-ID: <20080304011236.789dba26.akpm@linux-foundation.org> References: <20080303205452.8864c46d.akpm@linux-foundation.org> <1204620610.2439.10.camel@entropy> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org To: Nicholas Miell Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:51911 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbYCDJNL (ORCPT ); Tue, 4 Mar 2008 04:13:11 -0500 In-Reply-To: <1204620610.2439.10.camel@entropy> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 04 Mar 2008 08:50:10 +0000 Nicholas Miell 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?