diff options
author | Valerie Henson <val_henson@linux.intel.com> | 2006-12-08 19:15:14 -0800 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-04-05 00:29:55 +0200 |
commit | 5e12b670afa4bfe2b9433d42783628bcdf61dffc (patch) | |
tree | 1d5f4fee2720edbdc6556db00ad94dde16da1487 /mount/mount.8 | |
parent | 0df2f5d5aa1b3c5bd3acb544535ec129d2405fc4 (diff) | |
download | util-linux-old-5e12b670afa4bfe2b9433d42783628bcdf61dffc.tar.gz |
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.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mount/mount.8 b/mount/mount.8 index 870cfd13..2d7c2189 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 |