List disks and filesystems with lsblk -f

lsblk -f prints every block device as a tree with its filesystem type, UUID, label and mount point — the quickest way to identify which partition is which before formatting or mounting.

Linuxfilesystemdisksystem-infoLow risk
Run `lsblk -f`; each sdX/nvmeX device shows its partitions, FSTYPE and MOUNTPOINT.

01Command

Command
$ lsblk -f

02What it does

Unlike fdisk -l, lsblk reads sysfs and needs no root, and unlike df it also shows unmounted devices. It is the natural first command when a USB drive shows up empty, when you need the UUID for /etc/fstab, or when distinguishing an NVMe drive from a SATA disk. Add `-o NAME,SIZE,ROTA,MODEL` to also see the drive model and whether it is an SSD or spinning disk.

03Risk

RiskLow risk
Requirementsutil-linux (preinstalled)
!Warning: None — read-only.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • lsblk(8)
    Arch Linux · community · 2026-09-17
    Evidence: device tree view with -o to choose columns
  • lsblk(8) — list block devices
    man7.org · community · 2026-09-17
    Evidence: lsblk -f also prints filesystem type, UUID and mountpoint

Last verified: 2026-09-18 · Category: System & Settings

06Related solutions