Make Linux case insensitive filename
hi, can any one tell me what code to modify in order to make Linux make case insensitive filename. i do not want the following file names to be created in the same folder:
ab.c Ab.c aB.c AB.c thanks |
To my knowledge, case sensitivity depends on the filesystem. Ext2/3/4, JFS, XFS, UFS, ZFS, HFS, HFS+, etc are all case sensitive. FAT12/16/32 is case insensitive, with FAT 12/16 having 8.3 filenaming, and FAT32 with long names.
Out of curiosity, why is this needed? |
Quote:
thanks again |
A little bit of Google-fu(TM) says that it cannot be done.
|
be creative
Multiple options:
- use a filesystem that is not case sensitive (armanox already mentioned a few), that way you will end up with all uppercase (or all lowercase) letters, no matter what you type. Usually this will also limit the number of character possible for a filename. - use a script as a cron job to parse your filesystem in regular intervals and and make all files either uppercase or lowercase. Usually this will overwrite a few files that already differ only by cases. - be creative and find another (better) solution - after all, this is a school project. Regards, SIMP Fedora User |
Quote:
I think it would help if you told us more about what the project is supposed to be doing. In the original post, the goal is ambiguous. It's hard for me to imagine that they would give you a problem that required modifying the kernel. |
All times are GMT -5. The time now is 09:52 PM. |