summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.8
diff options
context:
space:
mode:
authorKarel Zak2012-06-19 16:06:22 +0200
committerKarel Zak2012-06-19 16:06:22 +0200
commit2ef4e8ba1a9e7c67a8daabbaf7b00b67a912e5ea (patch)
tree1594fce655f2858d278f933c03675e1b2895a9e8 /misc-utils/lsblk.8
parentlscpu: fix compiler warning [-Wsign-compare] (diff)
downloadkernel-qcow2-util-linux-2ef4e8ba1a9e7c67a8daabbaf7b00b67a912e5ea.tar.gz
kernel-qcow2-util-linux-2ef4e8ba1a9e7c67a8daabbaf7b00b67a912e5ea.tar.xz
kernel-qcow2-util-linux-2ef4e8ba1a9e7c67a8daabbaf7b00b67a912e5ea.zip
lsblk: add --include option
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.8')
-rw-r--r--misc-utils/lsblk.89
1 files changed, 7 insertions, 2 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index 79173dae4..227da9aa3 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -23,7 +23,8 @@ by default. Use
to get a list of all available columns.
.SH OPTIONS
.IP "\fB\-a, \-\-all\fP"
-List all block devices.
+.B lsblk
+does not list empty devices by default. This option disables this restriction.
.IP "\fB\-b, \-\-bytes\fP"
Print the SIZE column in bytes rather than in human-readable format.
.IP "\fB\-d, \-\-nodeps\fP"
@@ -33,7 +34,11 @@ information about the sda device only.
Print information about the discard (TRIM, UNMAP) capabilities for each device.
.IP "\fB\-e, \-\-exclude \fIlist\fP
Exclude the devices specified by a comma-separated \fIlist\fR of major device numbers.
-Note that RAM disks (major=1) are excluded by default.
+Note that RAM disks (major=1) are excluded by default. The filter is applied to the top-level
+devices only.
+.IP "\fB\-I, \-\-include \fIlist\fP
+Include devices specified by a comma-separated \fIlist\fR of major device numbers only.
+The filter is applied to the top-level devices.
.IP "\fB\-f, \-\-fs\fP
Output info about filesystems. This option is equivalent to "-o NAME,FSTYPE,LABEL,MOUNTPOINT".
The authoritative information about filesystems and raids is provided by the