Skip to main content
1 of 4
user avatar
user avatar

Linux: list partition labels (command line)?

Is there a command line 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 assuming 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)...

Thanks,
Cheers!

sdaau
  • 7.1k
  • 16
  • 65
  • 74