Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux mlabel command

Linux mlabel command

Linux Command Reference Linux Command Reference

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:

Example

Change the label of drive A to newlabel.

mlabel a:newlabel

Linux Command Reference Linux Command Reference