Linux mlabel command
The Linux mlabel command is used to set a disk label.
If a label has been set on the disk, mlabel will display it to the user. If no new label is specified and neither the c nor s option is specified, mlabel will prompt the user to enter a new label. If you simply press Enter, the original label will be deleted.
Syntax
mlabel [-vcs] drive:[new_label]
Parameter Description:
- -v More information.
- -c Clear the original label without displaying a prompt.
- -s Display the current label without displaying a prompt.
Example
Change the label of drive A to newlabel.
mlabel a:newlabel
Linux Command Reference