LinuxCommandLibrary

fatlabel

FAT filesystem volume label utility

TLDR

Get the label of a FAT32 partition

$ fatlabel [/dev/sda1]
copy
Set the label of a FAT32 partition
$ fatlabel [/dev/sdc3] "[new_label]"
copy

SYNOPSIS

fatlabel device [label]

DESCRIPTION

fatlabel gets or sets the volume label of a FAT filesystem. Without a label argument, it displays the current label. With a label argument, it sets a new label.
Part of the dosfstools package for managing FAT filesystems.

PARAMETERS

device

FAT partition device
label
New volume label (optional)

CAVEATS

FAT labels limited to 11 characters. Requires unmounted filesystem for writing. Part of dosfstools package.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community