]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: (man) be explicit about bind operation
authorKarel Zak <kzak@redhat.com>
Mon, 19 Mar 2018 10:29:25 +0000 (11:29 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 19 Mar 2018 10:46:11 +0000 (11:46 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/mount.8

index 2f9890aae6bf7e64325220d63a9394a6b47ab70e..b64d956e342614e7349891a156c6f2d5ea99a551 100644 (file)
@@ -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: