aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-06-04 06:40:02 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-06-04 06:57:44 -0500
commit49f6854626c40802d5527dad9d7fa29f860306f7 (patch)
treebc91a96aad3780ee5106b7b902f56639dc90f98e
parentf5da58a8f2f22c5662989b6bc9e0b7c4355a79d2 (diff)
downloadman-pages-49f6854626c40802d5527dad9d7fa29f860306f7.tar.gz
mount.2: Note the default treatment of ATIME flags during MS_REMOUNT
The behavior changed in Linux 3.17. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/mount.214
1 files changed, 14 insertions, 0 deletions
diff --git a/man2/mount.2 b/man2/mount.2
index 34d71cb8a4..a582443bbe 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -314,6 +314,20 @@ and, additionally, before kernel 2.4.10, the following could also be changed:
and
.BR MS_NOEXEC .
+Since Linux 3.17,
+.\" commit ffbc6f0ead47fa5a1dc9642b0331cb75c20a640e
+if none of
+.BR MS_NOATIME ,
+.BR MS_NODIRATIME ,
+.BR MS_RELATIME ,
+or
+.BR MS_STRICTATIME
+is specified in
+.IR mountflags ,
+then the remount operation preserves the existing values of these flags
+(rather than defaulting to
+.BR MS_RELATIME ).
+
Since Linux 2.6.26, this flag can also be used to make
.\" See https://lwn.net/Articles/281157/
an existing bind mount read-only by specifying