lsblk - list block devices - Video Man Pages @DistroTube
lsblk - list block devices - Video Man Pages  @DistroTube
Uploaded October 2025 | Updated November 2026, 6 days ago
The 'lsblk' command is used to list your block devices (drives) on your system.

- List all storage devices (that aren't empty) in a tree-like format:
lsblk

- List all devices including empty devices:
lsblk -a

- Print sizes in bytes rather than in human-readable format:
lsblk -b

- Output info about filesystems:
lsblk -f

- Exclude the devices specified by the MAJ device number:
lsblk -e 7

NOTE The above removes loopback devices, which is useful if you want to filter out snaps from 'lsblk' output.

- Exclude the devices specified by the comma-separated list of MAJ device numbers:
lsblk -e 7,8

- Specify columns for the output using a comma-separated list:
lsblk -o NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT

- Specify and additioanl column added to the default output:
lsblk -o +UUID

- Output info about device topology:
lsblk -t

NOTE The above is equivalent to...
'-o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED,RQ-SIZE,RA,WSAME'

- Output info about topology and sort by column name:
lsblk -t -x SCHED

- Use ASCII characters for tree formatting:
lsblk -i

REFERENCED:
β–Ί gitlab.com/dwt1/vidman

WANT TO SUPPORT THE CHANNEL?
πŸ’° Patreon: patreon.com/distrotube
πŸ’³ Paypal: paypal.com/donate/?hosted_button_id=MW3ZFGS8Q9JGW
πŸ›οΈ Amazon: amzn.to/2RotFFi
πŸ‘• Teespring: teespring.com/stores/distrotube

DT ON THE WEB:
πŸ•ΈοΈ Website: http://distro.tube
πŸ“ GitLab: gitlab.com/dwt1
πŸ—¨οΈ Mastodon: fosstodon.org/@distrotube
πŸ‘« Reddit: reddit.com/r/DistroTube
πŸ“½οΈ Odysee: odysee.com/@DistroTube:2

FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
🌐 Brave Browser - brave.com
πŸ“½οΈ Open Broadcaster Software: obsproject.com
🎬 Kdenlive: kdenlive.org
🎨 GIMP: gimp.org
πŸ’» VirtualBox: virtualbox.org
πŸ—’οΈ Doom Emacs: github.com/hlissner/doom-emacs

Your support is very much appreciated. Thanks, guys!
lsblk - list block devices - Video Man Pagespwd - print the working directory - Video Man PagesIm Always Right And Youre Always Wrong (A Message To Non-Idiots!)One Line Bash Script Solves Decades Old Linux Problemuniq - print or omit repeated lines - Video Man PagesCommunity Game Night LIVE! - XonoticDrop Windows and Install AnduinOS (Made By Microsoft Employee)Wallpaper Setter For All Window Managers X11 and WaylandCreate Beautiful Websites With HugoA Quick First Look At Fedora 43Linux Users Think About Things...Differently  (DT LIVE!)Is It Time To Leave Arch Linux?
DistroTube |

'lsblk' - list block devices - Video Man Pages

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER