From: Karel Zak Date: Tue, 24 Jan 2012 10:40:15 +0000 (+0100) Subject: mount: (new) add more info about --stab to mount.8 X-Git-Tag: v2.21-rc2~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c633953cfe4429a5de80a76cc55c841f54e65bf3;p=thirdparty%2Futil-linux.git mount: (new) add more info about --stab to mount.8 Signed-off-by: Karel Zak --- diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index a063434bba..78e7a41163 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. 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