summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorVaclav Dolezal2018-02-08 15:46:33 +0100
committerVaclav Dolezal2018-02-08 15:46:33 +0100
commit7238285bf2c6d73a0425791539a9bb668592f7f1 (patch)
treea5b9094527e5c9d00f7cfc66013c9726c5b8c321 /sys-utils/mount.8
parentmount: added options exposing libmount's optsmode (diff)
downloadkernel-qcow2-util-linux-7238285bf2c6d73a0425791539a9bb668592f7f1.tar.gz
kernel-qcow2-util-linux-7238285bf2c6d73a0425791539a9bb668592f7f1.tar.xz
kernel-qcow2-util-linux-7238285bf2c6d73a0425791539a9bb668592f7f1.zip
mount: document --options-* in man/help
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r--sys-utils/mount.821
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index c5f7c1408..3c16a132c 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -678,6 +678,27 @@ sections.
.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
.BR \-R , " \-\-rbind"
Remount a subtree and all possible submounts somewhere else (so that its
contents are available in both places). See above, the subsection