SUMMARY *** Unable to empty the volume label of FAT32. sudo fatlabel /dev/disk/by-partlabel/ESP "" fatlabel: labels can't be empty or white space only I guess it's because of dosstools v4 2 added new restrictions. sudo fatlabel -r /dev/disk/by-partlabel/ESP The R parameter is very useful. *** STEPS TO REPRODUCE 1. Set the volume label with empty content for FAT32. OBSERVED RESULT The volume label is not empty. EXPECTED RESULT The volume label is empty. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
It's actually the partition manager that can't clear the FAT32 volume label. As for the part of dosstools, I just speculate that it may be because the partition manager may use dosstools.
Git commit fd4a3308879fcf4e59c3f9c199c28c95d04440f5 by Andrius Štikonas. Committed on 15/05/2022 at 22:20. Pushed by stikonas into branch 'master'. Allow setting empty FAT label. This breaks compatibility with dosfstools 4.1 M +2 -3 src/fs/fat12.cpp https://invent.kde.org/system/kpmcore/commit/fd4a3308879fcf4e59c3f9c199c28c95d04440f5