summaryrefslogtreecommitdiffstats
path: root/misc-utils/findmnt.8
diff options
context:
space:
mode:
authorDave Reisner2011-12-11 19:58:05 +0100
committerKarel Zak2011-12-16 11:29:39 +0100
commitd466c6a1fe66603227b3ff73a21a45abd77ee826 (patch)
tree71b7b2b572aac648586304038a0786823667105b /misc-utils/findmnt.8
parentfindmnt: use warnx for libmnt error callback (diff)
downloadkernel-qcow2-util-linux-d466c6a1fe66603227b3ff73a21a45abd77ee826.tar.gz
kernel-qcow2-util-linux-d466c6a1fe66603227b3ff73a21a45abd77ee826.tar.xz
kernel-qcow2-util-linux-d466c6a1fe66603227b3ff73a21a45abd77ee826.zip
findmnt: support alternative location of fstab
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/findmnt.8')
-rw-r--r--misc-utils/findmnt.86
1 files changed, 4 insertions, 2 deletions
diff --git a/misc-utils/findmnt.8 b/misc-utils/findmnt.8
index 24e3a520b..7f3dc6cee 100644
--- a/misc-utils/findmnt.8
+++ b/misc-utils/findmnt.8
@@ -36,12 +36,14 @@ The command prints all mounted filesystems in the tree-like format by default.
.SH OPTIONS
.IP "\fB\-h, \-\-help\fP"
Print help and exit.
-.IP "\fB\-s, \-\-fstab\fP"
+.IP "\fB\-s, \-\-fstab\fR[\fI=fstab\fR]\fP"
Search in
.IR /etc/fstab
and
.IR /etc/fstab.d .
-The output is in the list format (see --list).
+The output is in the list format (see --list). Optionally, search the file
+specified by
+.IR fstab .
.IP "\fB\-m, \-\-mtab\fP"
Search in
.IR /etc/mtab .