File Names lowercase on SD card

I’m hoping this is a simple fix, I’m running Bazzite on the Ally X with a 1TB SD card stores with emudeck etc. For some reason whenever I transfer a file over to the SD card it formats everything in lower case, it can be named “Sonic Adventure 2” and when I transfer it to the SD card, it is renamed as “sonic adventure 2” Is there a fix for this? I am getting repeated errors trying to setup syncthing so I’m wondering if this is the issue.
11 Replies
Chronus
Chronus3w ago
Same here all I can do is to rename each file. 😂 If you've renamed the file and it works then that's the issue.
Spidercolt
SpidercoltOP3w ago
My issue is Syncthing is thinking they are separate files and not wanting to work right because of it lol. I may just give up trying to use it. Like I tried to rename my PCSX2 memory card from mcd001 to Mcd001 and it went back to lowercase lol.
Chronus
Chronus3w ago
In my case I can only rename the transferred files outside the msd card to put some big letters.
wolfyreload
wolfyreload3w ago
What filesystem are you using for the SD card?
Chronus
Chronus3w ago
That might be because my mSD card is on NTFS. I think OP has the same fsystem.
termdisc
termdisc3w ago
NTFS is case-insensitive
Chronus
Chronus3w ago
But so far it never game me problem with setting up directories like in SRM. @Spidercolt
wolfyreload
wolfyreload3w ago
If you don't have a lot of files on the SD card you could try and format it to btrfs or ext4 Note: if you want to share the SSD with windows you might not want to do that
Spidercolt
SpidercoltOP3w ago
Yeah I had it split with windows so that might be my issue My thought was have a dual boot setup with all my roms and emudeck etc on the SD card lol. But I wasn’t expecting syncthing to give me problems like this. NTFS Sorry missed the ping. Mobile discord
wolfyreload
wolfyreload3w ago
This is interesting, in Windows an NTFS drive is usually case-insensitive. But if I mount an external disk in Linux (Bazzite Gnome in this case) it's mounting it as case-sensitive. So I can e.g. make a file Hello.txt and hello.txt and they will be two separate files Looks like there is a driver called lowntfs-3g (builtin) that has some options that simulates the way windows works with ntfs filesystems.
sudo mkdir /var/mnt/testing
sudo mount --types lowntfs-3g --options windows_names,ignore_case --source /dev/sdd --target /var/mnt/testing
sudo mkdir /var/mnt/testing
sudo mount --types lowntfs-3g --options windows_names,ignore_case --source /dev/sdd --target /var/mnt/testing
The drive was /dev/sdd in my case, then the filesystem gets treated like a case-sensitive file system like windows does it, and anything that is trying to read from the filesystem can read it without the case matching. If you want to try this test it on something that is not important 😅
Spidercolt
SpidercoltOP2w ago
I will try that in a sec and see if I get some results lol Ok finally did some testing on this and it’s basically every NTFS drive has their case in lower. Formatted my micro SD to btrfs and was going to try and transfer files back over. Well my rom drive is NTFS and all those files are also in lower case. So it’s something with my Bazzite install. No clue. So would that code work for the entire install?

Did you find this page helpful?