OptionsOn lsblk itself
--help-h
Show help for lsblk
--version-V
Show version for lsblk
--all-a
Also list empty devices and RAM disk devices
--bytes-b
Print the SIZE column in bytes
--discard-D
Print information about the discarding capabilities (TRIM, UNMAP) for each device
--nodeps-d
Do not print holder devices or slaves
--dedup-E
Use column as a de-duplication key to de-duplicate output tree <column>
--exclude-e
Exclude the devices specified by the comma-separated list of major device numbers <list>
--fs-f
Output info about filesystems
--include-I
Include devices specified by the comma-separated list of major device numbers <list>
--ascii-i
Use ASCII characters for tree formatting
--json-J
Use JSON output format
--list-l
Produce output in the form of a list
--merge-M
Group parents of sub-trees to provide more readable output for RAIDs and Multi-path devices
--perms-m
Output info about device owner, group and mode
--noheadings-n
Do not print a header line
--output-o
Specify which output columns to print <list>
--output-all-O
Output all available columns
--pairs-P
Produce output in the form of key-value pairs
--raw-r
Produce output in raw format
--scsi-S
Output info about SCSI devices only
--inverse-s
Print dependencies in inverse order
--tree-T
Force tree-like output format <column>
--topology-t
Output info about block-device topology
--width-w
Specifies output width as a number of characters <number>
--sort-x
Sort output lines by column <column>
--zoned-z
Print the zone model for each device
--sysroot
Gather data for a Linux instance other than the instance from which the lsblk command is issued <directory>