From f5009646be33e0542b3b26abcbf831d436af6a1f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 15 Mar 2010 14:36:22 +0100 Subject: [PATCH] mount: more explicitly explain fstab usage in mount.8 Signed-off-by: Karel Zak --- mount/mount.8 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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 -- 2.39.5