Use the mlabel command of linux to label the disk
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.