summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorBorut Mrak2015-08-11 02:51:36 +0200
committerBorut Mrak2015-08-11 02:51:36 +0200
commit6e73b6113b35b6a55434ca3e77ff48cc3bc43267 (patch)
tree7a3ae01f8805face4fb40fe51789f27a18d95a24 /sys-utils/mount.8
parentlibmount: fix typo in mnt_optstr_prepend_option() (diff)
downloadkernel-qcow2-util-linux-6e73b6113b35b6a55434ca3e77ff48cc3bc43267.tar.gz
kernel-qcow2-util-linux-6e73b6113b35b6a55434ca3e77ff48cc3bc43267.tar.xz
kernel-qcow2-util-linux-6e73b6113b35b6a55434ca3e77ff48cc3bc43267.zip
mount.8: Clarify relation between noatime and nodiratime
According to https://lwn.net/Articles/245002/ and checking Linus' git master fs/inode.c it's obvious nodiratime is redundant when mounting with noatime. Clarify that in the man page.
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r--sys-utils/mount.86
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 27839235f..4af636b59 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -863,7 +863,8 @@ mount options.
.TP
.B noatime
Do not update inode access times on this filesystem (e.g., for faster
-access on the news spool to speed up news servers).
+access on the news spool to speed up news servers). This works for all
+inode types (directories too), so implies nodiratime.
.TP
.B auto
Can be mounted with the
@@ -964,7 +965,8 @@ system.
Update directory inode access times on this filesystem. This is the default.
.TP
.B nodiratime
-Do not update directory inode access times on this filesystem.
+Do not update directory inode access times on this filesystem. If noatime
+option is set, this option is not needed.
.TP
.B dirsync
All directory updates within the filesystem should be done synchronously.