#11117: FAT: issues with lowercase 8.3 filenames -----------------------------------+------------------------------ Reporter: MatejHorvat | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1/alpha5 Component: File Systems/FAT | Version: R1/Development Keywords: FAT, FAT32, lowercase | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -----------------------------------+------------------------------ 1. Using an NT-based Windows such as Windows XP (this is crucial - see below), create a file with an entirely lowercase but 8.3 filename, such as "example.txt". 2. Mount the FAT/FAT32 partition in Haiku for reading and writing. 3. Open the file, modify it, save it, and close it. 4. Try to open it again. You won't be able to do it. Additionally, if you used Pe to save it, it will complain with an error. This is a sign that something is wrong. 5. Unmount the partition and mount it again. 6. You will see that the file's name has been changed to uppercase (as of hrev47617). I have also seen files get corrupted (on alpha 4.1 at least), but I cannot reliably reproduce that. My guess is that when recreating the file's directory entry, Haiku ignores the two flags that NT-based Windows uses to indicate lowercase 8.3 filenames. See: https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#VFAT_long_file_names ("If a filename contains only lowercase letters...") -- Ticket URL: <https://dev.haiku-os.org/ticket/11117> Haiku <https://dev.haiku-os.org> Haiku - the operating system.