From: Michael Kerrisk Date: Sat, 10 Feb 2007 17:37:00 +0000 (+0000) Subject: Document MS_RELATIME, new in kernel 2.6.20. X-Git-Tag: man-pages-2.44~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=926b6e378bdfe76fd1397229829e15ece5024e26;p=thirdparty%2Fman-pages.git Document MS_RELATIME, new in kernel 2.6.20. --- diff --git a/man2/mount.2 b/man2/mount.2 index 729feec15d..89a2e8bb39 100644 --- a/man2/mount.2 +++ b/man2/mount.2 @@ -157,6 +157,15 @@ Mount file system read-only. .\" FIXME Document MS_REC, available since 2.4.11. .\" This flag has meaning in conjunction with MS_BIND and .\" also with the shared sub-tree flags. +.TP +.BR 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 status change time (ctime). +This option is useful for programs, such as +.BR mutt (1), +that need to know when a file has been read since it was last modified. .TP .B MS_REMOUNT Remount an existing mount. This is allows you to change the @@ -204,6 +213,9 @@ From kernel 2.6.16 onwards, and .B MS_NODIRATIME are also settable on a per-mount-point basis. +The +.B MS_RELATIME +flag is also settable on a per-mount-point basis. .PP The .IR data