diff options
author | Karel Zak | 2014-04-25 10:07:24 +0200 |
---|---|---|
committer | Karel Zak | 2014-04-25 10:07:24 +0200 |
commit | 4593e07513a846b66b9ea1eeceaad0646d41a2e6 (patch) | |
tree | 2a82e5d6ddd83ada41d5e45c24176394d5fe5d68 | |
parent | wipefs: don't erase nested partition tables by default (diff) | |
download | kernel-qcow2-util-linux-4593e07513a846b66b9ea1eeceaad0646d41a2e6.tar.gz kernel-qcow2-util-linux-4593e07513a846b66b9ea1eeceaad0646d41a2e6.tar.xz kernel-qcow2-util-linux-4593e07513a846b66b9ea1eeceaad0646d41a2e6.zip |
mount: note that -c unused for mount.<type> in man page
Addresses: https://github.com/karelzak/util-linux/issues/70
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | sys-utils/mount.8 | 15 | ||||
-rw-r--r-- | sys-utils/umount.8 | 2 |
2 files changed, 12 insertions, 5 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 1c9726b5b..489079ddd 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -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 diff --git a/sys-utils/umount.8 b/sys-utils/umount.8 index 2f3679db2..94a13f77d 100644 --- a/sys-utils/umount.8 +++ b/sys-utils/umount.8 @@ -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 |