English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux mlabel Command

Linux Command大全

The Linux mlabel command is used to set the disk label (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 Enter is pressed directly, the original label will be deleted.

Syntax

mlabel [-vcs] drive:[new_label]

Parameter Description:

  • -v More information.
  • -c Clear the existing label without any prompt message.
  • -s Display the current label without any prompt message.

Online Examples

Change the label of Drive A to newlabel.

mlabel a:newlabel

Linux Command大全