summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.8
diff options
context:
space:
mode:
authorDamien Le Moal2017-04-19 02:25:58 +0200
committerKarel Zak2017-04-19 14:07:03 +0200
commitf2df436564a5dbd8770855d84a4b361aff7b246f (patch)
tree4a030cce33fba8efbc469ccda9d7b7c33784adf4 /misc-utils/lsblk.8
parentlibfdisk: (gpt) rename to gpt_entry_is_used() (diff)
downloadkernel-qcow2-util-linux-f2df436564a5dbd8770855d84a4b361aff7b246f.tar.gz
kernel-qcow2-util-linux-f2df436564a5dbd8770855d84a4b361aff7b246f.tar.xz
kernel-qcow2-util-linux-f2df436564a5dbd8770855d84a4b361aff7b246f.zip
lsblk: add ZONED column
Add the column "ZONED" to the output to display block devices zone model information. Example output: > lsblk -o+ZONED NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ZONED sda 8:0 0 111.8G 0 disk none ├─sda1 8:1 0 500M 0 part /boot none ├─sda2 8:2 0 87.3G 0 part / none └─sda3 8:3 0 24G 0 part [SWAP] none sdb 8:16 0 12.8T 0 disk host-managed sdc 8:32 0 5.5T 0 disk host-managed or: > lsblk --zoned NAME ZONED sda none ├─sda1 none ├─sda2 none └─sda3 none sdb host-managed sdc host-managed Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'misc-utils/lsblk.8')
-rw-r--r--misc-utils/lsblk.83
1 files changed, 3 insertions, 0 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index ee1d873d0..d9fc1c0c2 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -49,6 +49,9 @@ Print the SIZE column in bytes rather than in a human-readable format.
.BR \-D , " \-\-discard"
Print information about the discarding capabilities (TRIM, UNMAP) for each device.
.TP
+.BR \-z , " \-\-zoned"
+Print the zone model for each device.
+.TP
.BR \-d , " \-\-nodeps"
Do not print holder devices or slaves. For example, \fBlsblk --nodeps /dev/sda\fR prints
information about the sda device only.