kfmut On MS-DOS filesystems, the case of the filenames don't matter:
# newfs_msdos -F32 /dev/rsd0e
/dev/rsd0e: 15298344 sectors in 1912293 FAT32 clusters (4096 bytes/cluster)
MBR type: 11
bps=512 spc=8 res=32 nft=2 mid=0xf0 spt=63 hds=16 hid=0 bsec=15328256 bspf=14940 rdcl=2 infs=1 bkbs=2
# mount /dev/sd0e /mnt
# echo hello > /mnt/CREDS.TXT
# cat /mnt/creds.txt
hello
# test -f /mnt/CrEdS.TxT && echo file exists
file exists
# umount /mnt
The kernel will fold all case on file access (as long as you don't do any naive string comparisons in your script, or program--and creds_msdos
isn't).