From: Karel Zak Date: Wed, 1 Mar 2023 12:11:42 +0000 (+0100) Subject: mount: (man) add note about options order X-Git-Tag: v2.39-rc1~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5603aee05b2d603ec59bfde47d07c076d43df00c;p=thirdparty%2Futil-linux.git mount: (man) add note about options order Fixes: https://github.com/util-linux/util-linux/issues/2087 Signed-off-by: Karel Zak --- diff --git a/sys-utils/mount.8.adoc b/sys-utils/mount.8.adoc index 5948d33896..39332e55c5 100644 --- a/sys-utils/mount.8.adoc +++ b/sys-utils/mount.8.adoc @@ -370,6 +370,8 @@ Use the specified mount options. The _opts_ argument is a comma-separated list. + *mount LABEL=mydisk -o noatime,nodev,nosuid* + +Note that the order of the options matters, as the last option wins if there are conflicting ones. The options from the command line also overwrite options from fstab by default. ++ For more details, see the *FILESYSTEM-INDEPENDENT MOUNT OPTIONS* and *FILESYSTEM-SPECIFIC MOUNT OPTIONS* sections. *--onlyonce*::