mount: document --options-* in man/help
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
This commit is contained in:
parent
db9185bf5a
commit
7238285bf2
|
@ -677,6 +677,27 @@ and
|
||||||
sections.
|
sections.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "\-\-options\-mode " \fImode
|
||||||
|
Controls how to combine options from fstab/mtab with options from command line.
|
||||||
|
\fImode\fR can be one of
|
||||||
|
.BR ignore ", " append ", " prepend " or " replace .
|
||||||
|
Default value is \fBprepend\fR.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "\-\-options\-source " \fIsource
|
||||||
|
Source of default options.
|
||||||
|
\fIsource\fR is comma separated list of
|
||||||
|
.BR fstab ", " mtab " and " disable .
|
||||||
|
\fBdisable\fR disables
|
||||||
|
.BR fstab " and " mtab
|
||||||
|
and disables \fB\-\-options\-source\-force\fR.
|
||||||
|
Default value is \fBfstab,mtab\fR.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-\-options\-source\-force
|
||||||
|
Use options from fstab/mtab even if both \fIdevice\fR and \fIdir\fR are specified.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-R , " \-\-rbind"
|
.BR \-R , " \-\-rbind"
|
||||||
Remount a subtree and all possible submounts somewhere else (so that its
|
Remount a subtree and all possible submounts somewhere else (so that its
|
||||||
|
|
|
@ -413,6 +413,13 @@ static void __attribute__((__noreturn__)) usage(void)
|
||||||
fprintf(out, _(
|
fprintf(out, _(
|
||||||
" -n, --no-mtab don't write to /etc/mtab\n"));
|
" -n, --no-mtab don't write to /etc/mtab\n"));
|
||||||
fprintf(out, _(
|
fprintf(out, _(
|
||||||
|
" --options-mode <mode>\n"
|
||||||
|
" what to do with options loaded from fstab\n"
|
||||||
|
" --options-source <source>\n"
|
||||||
|
" mount options source\n"
|
||||||
|
" --options-source-force\n"
|
||||||
|
" force use of options from fstab/mtab\n"));
|
||||||
|
fprintf(out, _(
|
||||||
" -o, --options <list> comma-separated list of mount options\n"
|
" -o, --options <list> comma-separated list of mount options\n"
|
||||||
" -O, --test-opts <list> limit the set of filesystems (use with -a)\n"
|
" -O, --test-opts <list> limit the set of filesystems (use with -a)\n"
|
||||||
" -r, --read-only mount the filesystem read-only (same as -o ro)\n"
|
" -r, --read-only mount the filesystem read-only (same as -o ro)\n"
|
||||||
|
|
Loading…
Reference in New Issue