relan / exfat

Free exFAT file system implementation
GNU General Public License v2.0
779 stars 176 forks source link

volume label size violates specification and incompatible with MS Windows implementation #156

Open karelzak opened 4 years ago

karelzak commented 4 years ago

The last libblkid version follows exfat specification and uses 22 bytes for volume label. We detected (thanks to udisks regression tests) that mkfs.exfat from https://github.com/relan/exfat uses 30 bytes and mkfs accepts 15 chars on the command line.

It would be nice to fix this issue to make this project compatible with standard and with other tools (e.g. https://github.com/exfatprogs/) and MS windows.

Please, see the details at https://github.com/karelzak/util-linux/issues/1085.

relan commented 4 years ago

Thanks for reporting.

In the Windows Vista times the label was indeed 30 bytes long. I'll truncate it to 22 bytes.