- Get the label of a FAT32 partition:fatlabel [/dev/sda1]- Set the label of a FAT32 partition:fatlabel [/dev/sdc3] "[new_label]"
fatlabel DEVICE [LABEL]
fatlabel set or gets a MS-DOS filesystem label from a given device.
If LABEL is omitted, then the label name of the specified device is written on the standard output. A label can't be longer than 11 bytes.
The home for the dosfstools project is its GitHub project page
dosfstools were written by Werner Almesberger Roman Hodek and others. The current maintainer is Andreas Bombe