diff options
author | Karel Zak | 2018-07-19 11:41:31 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-19 11:41:31 +0200 |
commit | b6cc121043854e1048d020bc1d73d932df89eb4b (patch) | |
tree | 74733c9d82c838ab11f1aecb7ff6b4af15ceadd5 /sys-utils/umount.8 | |
parent | libmount: add since tag for new functions (diff) | |
download | kernel-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.8 | 9 |
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" |