mount: document --namespace in man/help
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
This commit is contained in:
parent
cddd2eaa27
commit
d45e8ef999
|
@ -644,6 +644,10 @@ This is necessary for example when
|
|||
.I /etc
|
||||
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.
|
||||
.TP
|
||||
.BR \-O , " \-\-test\-opts " \fIopts
|
||||
Limit the set of filesystems to which the
|
||||
.B \-a
|
||||
|
|
|
@ -431,6 +431,8 @@ static void __attribute__((__noreturn__)) usage(void)
|
|||
" -v, --verbose say what is being done\n"));
|
||||
fprintf(out, _(
|
||||
" -w, --rw, --read-write mount the filesystem read-write (default)\n"));
|
||||
fprintf(out, _(
|
||||
" -N, --namespace <ns> perform mount in another namespace\n"));
|
||||
|
||||
fputs(USAGE_SEPARATOR, out);
|
||||
printf(USAGE_HELP_OPTIONS(25));
|
||||
|
|
|
@ -127,6 +127,10 @@ recommended use-case for \fBumount -l\fR is to prevent hangs on shutdown due to
|
|||
an unreachable network share where a normal umount will hang due to a downed
|
||||
server or a network partition. Remounts of the share will not be possible.
|
||||
|
||||
.TP
|
||||
.BR \-N , " \-\-namespace " \fIns
|
||||
Perform umount in namespace specified by \fIns\fR.
|
||||
\fIns\fR is typically in form \fI/proc/[pid]/ns/mnt\fR.
|
||||
.TP
|
||||
.BR \-n , " \-\-no\-mtab"
|
||||
Unmount without writing in
|
||||
|
|
|
@ -100,6 +100,7 @@ static void __attribute__((__noreturn__)) usage(void)
|
|||
fputs(_(" -r, --read-only in case unmounting fails, try to remount read-only\n"), out);
|
||||
fputs(_(" -t, --types <list> limit the set of filesystem types\n"), out);
|
||||
fputs(_(" -v, --verbose say what is being done\n"), out);
|
||||
fputs(_(" -N, --namespace <ns> perform umount in another namespace\n"), out);
|
||||
|
||||
fputs(USAGE_SEPARATOR, out);
|
||||
printf(USAGE_HELP_OPTIONS(25));
|
||||
|
|
Loading…
Reference in New Issue