summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorKarel Zak2018-04-09 12:39:10 +0200
committerKarel Zak2018-04-09 12:39:10 +0200
commitb8ec0cb4f447e1c0ebd45cf744f364b5fac2314c (patch)
tree5ce2c5213518191963f5cffcba2d18dc379ced83 /sys-utils/mount.8
parentMerge branch 'mount-omode' of https://github.com/yontalcar/util-linux (diff)
downloadkernel-qcow2-util-linux-b8ec0cb4f447e1c0ebd45cf744f364b5fac2314c.tar.gz
kernel-qcow2-util-linux-b8ec0cb4f447e1c0ebd45cf744f364b5fac2314c.tar.xz
kernel-qcow2-util-linux-b8ec0cb4f447e1c0ebd45cf744f364b5fac2314c.zip
mount: more notes about --options-* to man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r--sys-utils/mount.810
1 files changed, 9 insertions, 1 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 15d74df6d..6c2837f0a 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -259,6 +259,8 @@ you have to use the \fB\-o\fR option:
and then the mount options from the command line will be appended to
the list of options from
.IR /etc/fstab .
+This default behaviour is possible to change by command line
+option \fB\-\-options\-mode\fR.
The usual behavior is that the last option wins if there are conflicting
ones.
.sp
@@ -277,6 +279,11 @@ are specified. For example, to mount device
.B "mount /dev/foo /dir"
.sp
.RE
+This default behaviour is possible to change by command line option
+\fB\-\-options\-source\-force\fR to always read configuration from fstab. For
+non-root users
+.B mount
+always read fstab configuration.
.SS Non-superuser mounts
Normally, only the superuser can mount filesystems.
@@ -701,7 +708,8 @@ 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.
+Default value is \fBprepend\fR -- it means command line options are evaluated after fstab options.
+Note that the last option wins if there are conflicting ones.
.TP
.BR "\-\-options\-source " \fIsource