exfat icon indicating copy to clipboard operation
exfat copied to clipboard

[tools][feature request] Allow To Change Volume Serial Number ("ID")

Open maddes-b opened this issue 5 years ago • 0 comments

Please consider adding a separate tool or extending the label tool to change the volume serial number of an exFAT file system (offset 0x64/100 in main boot sector). For FAT under Linux one can use mlabel -N 12345678 -i /dev/sdb1. I hope this is easy to implement as mkfs.exfat should already have all necessary components for it.

My use case: Replaced an old USB stick with a new one, formatted it with exFAT and copied all data from the old one to it. On the first usage I recognized that the old USB stick was also recognized by its volume serial number and not just the label. Either I had to find and change all places on all devices/PCs where the old serial number was recognized, or I create a new 1:1 copy of the USB stick. It was easier for me to reformat with mkfs.exfat -i 12345678 /dev/sdb1 and take again some time to copy all files. But it would have been much easier to just change the serial number if possible.

Thanks Maddes

maddes-b avatar Dec 28 '20 16:12 maddes-b