Skip to main content
4 of 4
edited tags
Eduard Florinescu
  • 12.5k
  • 19
  • 61
  • 70

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