Skip to contentSkip to conversation

mount.2: Add MS_REC description

PATCH New Marian Marinov 1 participant 1 message Mar 26, 2015 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mount.2: Add MS_REC description

---
 man2/mount.2 | 9 +++++++++
 1 file changed, 9 insertions(+)
man2/mount.2 +9 -0
index b081ba1..0c7b3e9 100644
@@ -145,6 +145,15 @@ was also ignored
 (the bind mount has the same mount options as
 the underlying mount point).
 .TP
+.B MS_REC
+.\" information collected from tools/testing/selftests/mount/unprivileged-remount-test.c
+.\" and include/uapi/linux/fs.h
+This option is used together with
+.BR MS_BIND
+to make the mount recursive. This means that the kernel will walk trough
+all mount points within the source of the BIND and mount all of them in
+the corresponding directories within the destination of the BIND.
+.TP
 .BR MS_DIRSYNC " (since Linux 2.5.19)"
 Make directory changes on this filesystem synchronous.
 (This property can be obtained for individual directories
Signature · 5 lines
1.8.4
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html