37

When I create a new partition on my disk using GParted, I have the option to set both a name and a label. Some partitions I have already have both, some only a label. If I right-click on an existing partition, I can see separate options to set the partition's name and label.

But what is the difference between the name of a partition and the label of a filesystem? If I can set both and they seem to have a similar effect, does it even matter which one I choose?

30

A partition name is a name given in the GPT; it's external to the partition itself. A partition label is a label stored inside the filesystem; for example with ext-family filesystems, this is the label you can manipulate with e2label.

You can then use filesystem labels or partition names to mount the filesystems, which helps avoid issues with disk name changes. mount(8) has more information on this (search for "label"). It probably makes sense for the name to match the label...

  • What's the point of a GPT name then? I want my name/label to be durable and am guessing the label is more important. – Sridhar Sarnobat Apr 27 at 3:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.