HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mlabel — Set an MS-DOS volume label for FAT and VFAT filesystems. More information: <https://www.gnu.org/soft

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumedoscommandclilabelmlabelsetfor
linux

Problem

How to use the mlabel command: Set an MS-DOS volume label for FAT and VFAT filesystems. More information: <https://www.gnu.org/software/mtools/manual/mtools.html#mlabel>.

Solution

mlabel — Set an MS-DOS volume label for FAT and VFAT filesystems. More information: <https://www.gnu.org/software/mtools/manual/mtools.html#mlabel>.

Set a filesystem label:
mlabel -i {{/dev/sda}} ::"{{new_label}}"

Code Snippets

Set a filesystem label

mlabel -i {{/dev/sda}} ::"{{new_label}}"

Context

tldr-pages: linux/mlabel

Revisions (0)

No revisions yet.