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.
The documentation you linked to says:
— 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.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.