summaryrefslogtreecommitdiffstats
path: root/sys-utils/umount.8
diff options
context:
space:
mode:
authorKarel Zak2018-07-19 11:41:31 +0200
committerKarel Zak2018-07-19 11:41:31 +0200
commitb6cc121043854e1048d020bc1d73d932df89eb4b (patch)
tree74733c9d82c838ab11f1aecb7ff6b4af15ceadd5 /sys-utils/umount.8
parentlibmount: add since tag for new functions (diff)
downloadkernel-qcow2-util-linux-b6cc121043854e1048d020bc1d73d932df89eb4b.tar.gz
kernel-qcow2-util-linux-b6cc121043854e1048d020bc1d73d932df89eb4b.tar.xz
kernel-qcow2-util-linux-b6cc121043854e1048d020bc1d73d932df89eb4b.zip
mount: add details about mtab and --namespace to mount.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/umount.8')
-rw-r--r--sys-utils/umount.89
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-utils/umount.8 b/sys-utils/umount.8
index 18ed3a239..cad7d2aae 100644
--- a/sys-utils/umount.8
+++ b/sys-utils/umount.8
@@ -132,6 +132,15 @@ server or a network partition. Remounts of the share will not be possible.
Perform umount in namespace specified by \fIns\fR.
\fIns\fR is either PID of process running in that namespace
or special file representing that namespace.
+.sp
+.BR umount (8)
+switches to the namespace when it reads /etc/fstab, writes /etc/mtab (or writes to /run/mount) and calls
+.BR umount(2)
+system call, otherwise it runs in the original namespace. It means that the target namespace does not have
+to contain any libraries or another requirements necessary to execute
+.BR umount(2)
+command.
+.sp
See \fBnamespaces\fR(7) for more information.
.TP
.BR \-n , " \-\-no\-mtab"