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>
2 files changed