summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorKarel Zak2018-03-19 11:29:25 +0100
committerKarel Zak2018-03-19 11:46:11 +0100
commit5109589cc5f1c44682e55307922c459feb3083ab (patch)
tree6a9c4c2d455f96f3c704643ebf506c61b25c7d0f /sys-utils/mount.8
parenttests: consolidate ts_device_has UUID or LABEL (diff)
downloadkernel-qcow2-util-linux-5109589cc5f1c44682e55307922c459feb3083ab.tar.gz
kernel-qcow2-util-linux-5109589cc5f1c44682e55307922c459feb3083ab.tar.xz
kernel-qcow2-util-linux-5109589cc5f1c44682e55307922c459feb3083ab.zip
mount: (man) be explicit about bind operation
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r--sys-utils/mount.89
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 2f9890aae..b64d956e3 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -327,7 +327,7 @@ The
option is similar, with the restriction that the user must be
member of the group of the special file.
-.SS Bind mounts
+.SS Bind mount operation
Remount part of the file hierarchy somewhere else. The call is:
.RS
@@ -346,6 +346,13 @@ or by using this fstab entry:
.RE
After this call the same contents are accessible in two places.
+
+It is important to understand that "bind" does not to create any second-class
+or special node in the kernel VFS. The "bind" is just another operation to
+attach a filesystem. There is nowhere stored information that the filesystem
+has been attached by "bind" operation. The \fIolddir\fR and \fInewdir\fR are
+independent and the \fIolddir\fR maybe be umounted.
+
One can also remount a single file (on a single file). It's also
possible to use the bind mount to create a mountpoint from a regular
directory, for example: