summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorKarel Zak2018-04-09 12:19:55 +0200
committerKarel Zak2018-04-09 12:19:55 +0200
commit815c202c937b300abc253d8e8fe908cb088a584f (patch)
tree8de3a1e271670e4704e193a06b34a28849da4a53 /sys-utils/mount.8
parentbuild: Add missing -lintl linkage to lib{smartcols,uuid} (diff)
parentmount: use string_to_bitmask() (diff)
downloadkernel-qcow2-util-linux-815c202c937b300abc253d8e8fe908cb088a584f.tar.gz
kernel-qcow2-util-linux-815c202c937b300abc253d8e8fe908cb088a584f.tar.xz
kernel-qcow2-util-linux-815c202c937b300abc253d8e8fe908cb088a584f.zip
Merge branch 'mount-omode' of https://github.com/yontalcar/util-linux
* 'mount-omode' of https://github.com/yontalcar/util-linux: mount: use string_to_bitmask() mount(8): clarify behavior of --options-mode mount: document --options-* in man/help mount: added options exposing libmount's optsmode
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r--sys-utils/mount.822
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index b64d956e3..15d74df6d 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -696,6 +696,28 @@ 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 .
+For example \fBappend\fR means that options from fstab are appended to options from command line.
+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