aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2024-04-04 12:19:09 +0200
committerKarel Zak <kzak@redhat.com>2024-04-04 12:19:09 +0200
commitbd69e791da3af31c3797d3cd99ada370b46db2b1 (patch)
treef4bd5e560713be1b33206ab855f453c9ee265c2a
parent595701740d7cb66bcaa877a9b23cc85196a1d141 (diff)
downloadutil-linux-bd69e791da3af31c3797d3cd99ada370b46db2b1.tar.gz
mount: (man) add note about -o bind,rw
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--sys-utils/mount.8.adoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/mount.8.adoc b/sys-utils/mount.8.adoc
index ba8b45a2a2..43628adce5 100644
--- a/sys-utils/mount.8.adoc
+++ b/sys-utils/mount.8.adoc
@@ -240,6 +240,8 @@ It's also possible to change nosuid, nodev, noexec, noatime, nodiratime, relatim
Since util-linux 2.31, *mount* ignores the *bind* flag from _/etc/fstab_ on a *remount* operation (if *-o remount* is specified on command line). This is necessary to fully control mount options on remount by command line. In previous versions the bind flag has been always applied and it was impossible to re-define mount options without interaction with the bind semantic. This *mount* behavior does not affect situations when "remount,bind" is specified in the _/etc/fstab_ file.
+Since util-linux 2.39, *mount* may use the new kernel mount API if it is available. This new kernel interface provides a more precise way to work with mountpoint attributes. For example, the *-o bind,rw* operation will create a read-write node even if the original node was read-only. This was impossible with the old classic mount(2) syscall, where the read-only VFS flag was inherited from the original node.
+
=== The move operation
Move a *mounted tree* to another place (atomically). The call is: