From: Karel Zak Date: Mon, 15 Mar 2010 13:36:22 +0000 (+0100) Subject: mount: more explicitly explain fstab usage in mount.8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5009646be33e0542b3b26abcbf831d436af6a1f;p=util-linux mount: more explicitly explain fstab usage in mount.8 Signed-off-by: Karel Zak --- diff --git a/mount/mount.8 b/mount/mount.8 index ab8ccb0d..07edb5c2 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 " +.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