summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2018-05-15 10:51:15 +0200
committerKarel Zak2018-05-15 10:51:15 +0200
commit3d15a5e852fc0d0dca5ae11cc65476fbc526af32 (patch)
tree964df07cfeb8d1d333dc1a4d316ddf7983656b20
parentlsblk: don't exclude RAM disks on --all (diff)
downloadkernel-qcow2-util-linux-3d15a5e852fc0d0dca5ae11cc65476fbc526af32.tar.gz
kernel-qcow2-util-linux-3d15a5e852fc0d0dca5ae11cc65476fbc526af32.tar.xz
kernel-qcow2-util-linux-3d15a5e852fc0d0dca5ae11cc65476fbc526af32.zip
lsblk: fix notes about RAM disks
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--misc-utils/lsblk.86
1 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index d51a003a3..65f9d0dfb 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -43,7 +43,7 @@ before lsblk to synchronize with udev.
.SH OPTIONS
.TP
.BR \-a , " \-\-all"
-Also list empty devices. (By default they are skipped.)
+Also list empty devices and RAM disk devices.
.TP
.BR \-b , " \-\-bytes"
Print the SIZE column in bytes rather than in a human-readable format.
@@ -60,8 +60,8 @@ information about the sda device only.
.TP
.BR \-e , " \-\-exclude " \fIlist\fP
Exclude the devices specified by the comma-separated \fIlist\fR of major device numbers.
-Note that RAM disks (major=1) are excluded by default. The filter is applied to the
-top-level devices only.
+Note that RAM disks (major=1) are excluded by default if \fB\-\-all\fR is no specified.
+The filter is applied to the top-level devices only.
.TP
.BR \-f , " \-\-fs"
Output info about filesystems. This option is equivalent to