Is it safe to change the name of a partition in a gpt table using parted?

problemofficer asked:

I guess it IS but I didn’t find any explicit statement that changing the name does not affect the data in the partition in the parted documentation and since I could loose a lot of data I want to know this for sure.

I am talking of course about the option name NUMBER NAME.

My answer:

The documentation you linked to says:

2.4.6 name

— Command: name number name
Sets the name for the partition
number (GPT, Mac, MIPS and PC98 only). The name can be placed in


      (parted) name 2 'Secret Documents'

Set the name of partition 2 to `Secret Documents’.

So of course it works with GPT partitions; it explicitly said so.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.