What's the easiest way to rename (change the volume label of) a fat16 volume (e.g. on a USB drive) from linux? It seems like
mlabel from the
mtools package is meant to do this, but the documentation is not geared to rapid assimilation.
Found this guide to using mtools, which explains the following:
Check the current label
Note that we're using the special "::" drive which allows us to specify the device descriptor on the command line; otherwise we'd have to edit ~/.mtoolsrc to assign a drive letter (see Option 2 under "Change the label").
Change the label
After unmounting and checking the current label (above), use
Ignore the "Volume label is XYZ" output as this is the old label. Jump to the Verify the Change section below.
My initial confusion stemmed from the fact that the
However, I'm finding that setting a 10-character volume label ("KATAROWSKI") doesn't work: there is some extra stuff appended to the end of the label that translates, under linux to the