Skip to main content
Tweeted twitter.com/StackUnix/status/1194948225981190144
edited tags
Link
Eduard Florinescu
  • 12.5k
  • 19
  • 61
  • 70
deleted 59 characters in body; edited title
Source Link
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236

Linux: list List partition labels (commandfrom the 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!

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!

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).

Post Migrated Here from stackoverflow.com (revisions)
Source Link
sdaau
sdaau
Loading