I have a flash drive that is formatted as exFAT. I wish to change the label of the drive without formatting.
I've seen ways of doing this for ext4, fat or ntfs partitions but not for exFAT. Is this possible? how?
Depending on the tools you are using (or that are available for your distributions) you'll need to use either exfatlabel
exfatlabel <device> <label>
from exfat-utils which is provided by the older FUSE implementation of exFAT or tune.exfat
tune.exfat -L <label> <device>
from exfatprogs which is the userspace counterpart of the 5.7 kernel implementation and should be available in newer distributions.
exfatlabel
utility, so you can use the first one anyway. – Leonardo Dagnino Jul 07 '23 at 22:08sudo exfatlabel /dev/sdb1 ExtremePro
did the trick for me (original label was "Extreme Pro"), with exfatprogs 1.2.2-1 (on linux 6.6.10-1-lts). – msoutopico Jan 10 '24 at 16:36