summaryrefslogtreecommitdiffstats
path: root/mount/mount.8
diff options
context:
space:
mode:
authorKarel Zak2010-03-15 14:36:22 +0100
committerKarel Zak2010-03-15 14:36:22 +0100
commitc47381d1b37af477c15711d9a1a559b577bf7f4d (patch)
tree46d6d7a351bcb8586f5b06f57c67369ca1c6848c /mount/mount.8
parentmount: report ambivalent FS detection, improve brute force detection (diff)
downloadkernel-qcow2-util-linux-c47381d1b37af477c15711d9a1a559b577bf7f4d.tar.gz
kernel-qcow2-util-linux-c47381d1b37af477c15711d9a1a559b577bf7f4d.tar.xz
kernel-qcow2-util-linux-c47381d1b37af477c15711d9a1a559b577bf7f4d.zip
mount: more explicitly explain fstab usage in mount.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount.8')
-rw-r--r--mount/mount.828
1 files changed, 28 insertions, 0 deletions
diff --git a/mount/mount.8 b/mount/mount.8
index ab8ccb0d3..07edb5c22 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -199,6 +199,34 @@ If no arguments are given to
.BR mount ,
this list is printed.
+The
+.B mount
+program does not read the
+.I /etc/fstab
+file if
+.I device
+(or LABEL/UUID) and
+.I dir
+are specified. For example:
+.RS
+.sp
+.B "mount /dev/foo /dir"
+.sp
+.RE
+If you want to override mount options from
+.I /etc/fstab
+you have to use:
+.RS
+.sp
+.B "mount device|dir -o <options>"
+.sp
+.RE
+and then the mount options from command line will be appended to
+the list of options from
+.IR /etc/fstab .
+The usual behaviour is that the last option wins if there is more duplicated
+options.
+
When the
.I proc
filesystem is mounted (say at