Skip to main content
2 of 4
deleted 59 characters in body; edited title
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236

List partition labels from the command line

Is there a command that will list all partitions along with their labels? sudo fdisk -l and sudo parted -l don't show labels by default.

EDIT: (as per comment below) I'm talking about ext2 labels - those that you can set in gparted upon partitioning.

EDIT2: The intent is to list unmounted partitions (so I know which one to mount).

sdaau
  • 7.1k
  • 16
  • 65
  • 74