name (Parted User’s Manual)

Next: print, Previous: mkpart, Up: Parted Session Commands [Index]

#### 2.4.7 name

Command: name 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’.