diff options
author | Karel Zak | 2012-01-24 11:40:15 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-24 11:40:15 +0100 |
commit | c633953cfe4429a5de80a76cc55c841f54e65bf3 (patch) | |
tree | ea6657a8de31fa9c75718b851bc30a348a8d091a /sys-utils/mount.8 | |
parent | libmount: remove fstab.d support (diff) | |
download | kernel-qcow2-util-linux-c633953cfe4429a5de80a76cc55c841f54e65bf3.tar.gz kernel-qcow2-util-linux-c633953cfe4429a5de80a76cc55c841f54e65bf3.tar.xz kernel-qcow2-util-linux-c633953cfe4429a5de80a76cc55c841f54e65bf3.zip |
mount: (new) add more info about --stab to mount.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r-- | sys-utils/mount.8 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index a063434bb..78e7a4116 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -561,11 +561,18 @@ These two options require the file .I /proc/partitions (present since Linux 2.1.116) to exist. .IP "\fB\-T, \-\-fstab \fIpath\fP" -Specifies alternative fstab file. If the \fIpath\fP is directory then the files in the directory -are sorted by +Specifies alternative fstab file. If the \fIpath\fP is directory then the files +in the directory are sorted by .BR strverscmp (3), files that starts with "." or without .fstab extension are ignored. The option -can be specified more than once. +can be specified more than once. This option is mostly designed for initramfs +or chroot scripts where additional configuration is specified outside standard +system configuration. + +Note that mount(8) does not pass the option \fB\-\-fstab\fP to +/sbin/mount.<type> helpers, it means that the alternative fstab files will be +invisible for the helpers. This is no problem for normal mounts, but user +(non-root) mounts always require fstab to verify user's rights. .IP "\fB\-t, \-\-types \fIvfstype\fP" The argument following the .B \-t |