]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: note that -c unused for mount.<type> in man page
authorKarel Zak <kzak@redhat.com>
Fri, 25 Apr 2014 08:07:24 +0000 (10:07 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 25 Apr 2014 08:07:24 +0000 (10:07 +0200)
Addresses: https://github.com/karelzak/util-linux/issues/70
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/mount.8
sys-utils/umount.8

index 1c9726b5b3fbbae416ee79bd4150125bb4fc497f..489079dddc1a6fd40d5d35022172e47856676cac 100644 (file)
@@ -551,6 +551,10 @@ argument, and finally applying a
 .BR \-r " or " \-w
 option, when present.
 
+The command mount does not pass all command line options to the
+/sbin/mount.<suffix> mount helpers. The interface between the mount and the
+mount helpers is described below in the section EXTERNAL HELPERS.
+
 Command line options available for the
 .B mount
 command:
@@ -608,11 +612,14 @@ This is necessary for example when
 is on a read-only filesystem.
 .IP "\fB\-c, \-\-no-canonicalize\fP"
 Don't canonicalize paths. The mount command canonicalizes all paths
-(from command line or fstab) and stores canonicalized paths to the
-.I /etc/mtab
-file. This option can be used together with the
+(from command line or fstab) by default. This option can be used
+together with the
 .B \-f
-flag for already canonicalized absolute paths.
+flag for already canonicalized absolute paths. The option is designed for mount
+helpers which call mount -i. It's strongly recommended do not use this command
+line option for standard mount operations.
+
+Note that mount(8) does not pass this option to /sbin/mount.<type> helpers.
 .IP "\fB\-s\fP"
 Tolerate sloppy mount options rather than failing. This will ignore mount
 options not supported by a filesystem type. Not all filesystems support this
index 2f3679db217fba197b943ad7daacf04f8691b326..94a13f77dbe20a46d90ec88402770ceef34e7ed0 100644 (file)
@@ -75,7 +75,7 @@ all nested mounts within the filesystem are recursively unmounted.
 \fB\-c\fR, \fB\-\-no\-canonicalize\fR
 Do not canonicalize paths.  For more details about this option see the
 .BR mount (8)
-man page.
+man page. Note that umount(8) does not pass this option to /sbin/umount.<type> helpers.
 .TP
 \fB\-d\fR, \fB\-\-detach\-loop\fR
 In case the unmounted device was a loop device, also free this loop