summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorVaclav Dolezal2018-04-20 17:57:39 +0200
committerKarel Zak2018-06-11 16:16:32 +0200
commitd59766a64806d3acc409bd27cdd6a58e2d6e405f (patch)
tree75c61629e662808350a67429083688fe58802404 /sys-utils/mount.8
parentmount: document --namespace in man/help (diff)
downloadkernel-qcow2-util-linux-d59766a64806d3acc409bd27cdd6a58e2d6e405f.tar.gz
kernel-qcow2-util-linux-d59766a64806d3acc409bd27cdd6a58e2d6e405f.tar.xz
kernel-qcow2-util-linux-d59766a64806d3acc409bd27cdd6a58e2d6e405f.zip
mount: allow PID as --namespace argument
[[kzak@redhat.com: - update code] Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r--sys-utils/mount.84
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 488403717..1a05f71c0 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -646,7 +646,9 @@ is on a read-only filesystem.
.TP
.BR \-N , " \-\-namespace " \fIns
Perform mount in namespace specified by \fIns\fR.
-\fIns\fR is typically in form \fI/proc/[pid]/ns/mnt\fR.
+\fIns\fR is either PID of process running in that namespace
+or special file representing that namespace.
+See \fBnamespaces\fR(7) for more information.
.TP
.BR \-O , " \-\-test\-opts " \fIopts
Limit the set of filesystems to which the