Next: print, Previous: mkpart, Up: Command explanations [Index]
number
name
Sets the name for the partition number
(GPT, Mac, MIPS and PC98 only).
The name can be placed in quotes. And depending on the shell may need to also
be wrapped in single quotes so that the shell doesn’t strip off the double
quotes.
Example:
(parted) name 2 'Secret Documents'
Set the name of partition 2 to ‘Secret Documents’.