--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 <column> | Use column as a de-duplication key to de-duplicate output tree |
--exclude, -e <list> | Exclude the devices specified by the comma-separated list of major device numbers |
--fs, -f | Output info about filesystems |
--include, -I <list> | Include devices specified by the comma-separated list of major device numbers |
--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 <list...> | Specify which output columns to print |
--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 <column> | Force tree-like output format |
--topology, -t | Output info about block-device topology |
--width, -w <number> | Specifies output width as a number of characters |
--sort, -x <column> | Sort output lines by column |
--zoned, -z | Print the zone model for each device |
--sysroot <directory> | Gather data for a Linux instance other than the instance from which the lsblk command is issued |