lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070211005400.GC6849@redhat.com>
Date:	Sat, 10 Feb 2007 19:54:00 -0500
From:	Dave Jones <davej@...hat.com>
To:	Michael Kerrisk <mtk-manpages@....net>
Cc:	val_henson@...ux.interl.com, lkml <linux-kernel@...r.kernel.org>
Subject: Re: Documenting MS_RELATIME

On Sat, Feb 10, 2007 at 09:56:07AM -0800, Michael Kerrisk wrote:
 > Val,
 > 
 > I'm just updating the mount(2) man page for MS_RELATIME, and this is the
 > text I've come up with:
 > 
 >        MS_RELATIME(Since Linux 2.6.20)
 >               When a file on this file system is accessed, only
 >               update  the  file's last accessed time (atime) if
 >               the current value of atime is less than or  equal
 >               to  the file's last modified (mtime) or last sta-
 >               tus change time (ctime).  This option  is  useful
 >               for  programs, such as mutt(1), that need to know
 >               when a file has been read since it was last modi-
 >               fied.
 > 
 > This text is based on your comments accompanying the various patches, but
 > it differs in a respect.  Your comments said that the atime would only be
 > updated if the atime is older than mtime/ctime.  However, what the code
 > actually does is update atime if it is is <= mtime/ctime -- i.e., atime is
 > older than or *or equal to* mtime/ctime.
 > 
 > I'm sure that the code implements your intention, but before incorporating
 > the above text I thought I just better check, since the code differs from
 > your comment.  Can you just confirm that the proposed man page text is okay.

Whilst on the subject of RELATIME, is there any good reason why
not to make this a default mount option ?

		Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ