Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the mlabel command of linux to label the disk

Shulou Source: shulou.com Published: 2022-06-02 15:24:22 09月22日 Update

This article will explain in detail how to use linux's mlabel command to set disk tags. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

The mlabel command sets the label (Label) of the disk.

If a label is set on the disk, mlabel will display it to the user. If no new tag is specified and no c or s option is specified, mlabel prompts the user to enter a new tag. If you press Enter directly, the original tag will be deleted.

Syntax format: mlabel [parameters] [device]

Common parameters:

Reference example

Change the label of disk A to newlabel:

[root@linuxcool ~] # mlabel a:newlabel on using the mlabel command of linux to set the disk label is shared here. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Tags disks commands users parameters more articles references good practical content original examples commonly used articles formats knowledge devices grammar help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker OPPO Reno MariaDB Microsoft macOS