summaryrefslogtreecommitdiffstats
path: root/mount/mount.8
diff options
context:
space:
mode:
authorValerie Henson2006-12-09 04:15:14 +0100
committerKarel Zak2007-04-05 00:29:55 +0200
commit5e12b670afa4bfe2b9433d42783628bcdf61dffc (patch)
tree1d5f4fee2720edbdc6556db00ad94dde16da1487 /mount/mount.8
parenttests: add missing header (diff)
downloadkernel-qcow2-util-linux-5e12b670afa4bfe2b9433d42783628bcdf61dffc.tar.gz
kernel-qcow2-util-linux-5e12b670afa4bfe2b9433d42783628bcdf61dffc.tar.xz
kernel-qcow2-util-linux-5e12b670afa4bfe2b9433d42783628bcdf61dffc.zip
mount: relative atime support
Add the "relatime" (relative atime) option support to mount. Relative atime only updates the atime if the previous atime is older than the mtime or ctime. Like noatime, but useful for applications like mutt that need to know when a file has been read since it was last modified. Cc: Adrian Bunk <bunk@stusta.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Karel Zak <kzak@redhat.com> Signed-off-by: Valerie Henson <val_henson@linux.intel.com>
Diffstat (limited to 'mount/mount.8')
-rw-r--r--mount/mount.87
1 files changed, 7 insertions, 0 deletions
diff --git a/mount/mount.8 b/mount/mount.8
index 870cfd13e..2d7c21896 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -621,6 +621,13 @@ access on the news spool to speed up news servers).
.B nodiratime
Do not update directory inode access times on this filesystem.
.TP
+.B relatime
+Update inode access times relative to modify or change time. Access
+time is only updated if the previous access time was earlier than the
+current modify or change time. (Similar to noatime, but doesn't break
+mutt or other applications that need to know if a file has been read
+since the last time it was modified.)
+.TP
.B noauto
Can only be mounted explicitly (i.e., the
.B \-a