lkml.org 
[lkml]   [2008]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] relatime: Allow making relatime the default behaviour
On Thu, 27 Nov 2008 12:03:46 -0500 Christoph Hellwig <hch@infradead.org> 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

?


\
 
 \ /
  Last update: 2008-11-29 09:27    [W:0.532 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site