Re: [PATCH v2 2/2] relatime: Allow making relatime the defaultbehaviour

From: Andrew Morton
Date: Sat Nov 29 2008 - 03:25:01 EST


On Thu, 27 Nov 2008 12:03:46 -0500 Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> On Thu, Nov 27, 2008 at 03:03:41PM +0000, Matthew Garrett wrote:
> > Add support for defaulting to relatime
> >
> > Allow the kernel to enable relatime on all mounts by default. This can be
> > configured at build time or by a kernel parameter or sysctl. Also add a
> > MS_NORELATIME mount option to allow the default to be overridden for specific
> > mount points.
>
> NACK. Please just do it in fstab.
>

Yes, that's what I was wondering. No /proc thingy, no new Kconfig
entries, no __setup() thing. Just

mount -o relatime=$((24*60*60)) /dev/sda1 /mnt/point
mount -o remount,relatime=$((24*60*60)) /dev/sda1 /mnt/point

?
--
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/