summaryrefslogtreecommitdiffstats
path: root/misc-utils/findmnt.8
diff options
context:
space:
mode:
authorKarel Zak2012-04-25 09:51:26 +0200
committerKarel Zak2012-04-25 09:51:26 +0200
commitcd49218679fb7aa774a9f442ea58f45a13d6a520 (patch)
tree024d96d994f02de0b9e05a986fbab313b8c6890c /misc-utils/findmnt.8
parentlibmount: add mnt_table_find_devno() (diff)
downloadkernel-qcow2-util-linux-cd49218679fb7aa774a9f442ea58f45a13d6a520.tar.gz
kernel-qcow2-util-linux-cd49218679fb7aa774a9f442ea58f45a13d6a520.tar.xz
kernel-qcow2-util-linux-cd49218679fb7aa774a9f442ea58f45a13d6a520.zip
findmnt: add support for maj:min source
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/findmnt.8')
-rw-r--r--misc-utils/findmnt.89
1 files changed, 7 insertions, 2 deletions
diff --git a/misc-utils/findmnt.8 b/misc-utils/findmnt.8
index 0c710a80d..4edc30508 100644
--- a/misc-utils/findmnt.8
+++ b/misc-utils/findmnt.8
@@ -31,6 +31,11 @@ or
.IR mountpoint
is not given, all filesystems are shown.
.PP
+The device may be specified by device name, maj:min, filesystem LABEL or UUID
+or partition PARTUUID or PARTLABEL. Note that device name may be interpreted
+as mountpoint (and vice versa) if --target or --source options are not
+specified.
+.PP
The command prints all mounted filesystems in the tree-like format by default.
.SH OPTIONS
.IP "\fB\-h, \-\-help\fP"
@@ -154,8 +159,8 @@ defined by options \fB\-t\fP, \fB\-O\fP, \fB\-S\fP, \fB\-T\fP and
printed in tree-like order. The option enables the tree-like output format by
default. This option has no effect for \fB\-\-mtab\fP or \fB\-\-fstab\fP.
.IP "\fB\-S, \-\-source \fIspec\fP"
-Explicitly define the mount source. Supported are \fIdevice\fR, \fILABEL=\fR,
-\fIUUID=\fR, \fIPARTLABEL=\fR or \fIPARTUUID=\fR.
+Explicitly define the mount source. Supported are \fIdevice\fR, \fImaj:min\fR,
+\fILABEL=\fR, \fIUUID=\fR, \fIPARTLABEL=\fR or \fIPARTUUID=\fR.
.IP "\fB\-T, \-\-target \fIdir\fP"
Explicitly define the mount target (mountpoint directory).
.IP "\fB\-w, \-\-timeout \fImilliseconds\fP"