Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192
Rep:
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?
Last edited by armanox; 03-04-2008 at 05:31 PM.
Reason: spelling
To my knowledge, case sensitivity depends on the filesystem. Ext2/3/4, JFS, XFS, UFS, ZFS, HFS, HFS+, etc are all case insensitive. 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?
Thank you. it is school Project. No other purpos. Can you please give me more details how to this. Do i have to change the kernel? is there a filesystem (case insensitive) which i could just place in a linux source code and remove the case sensitive one.
- 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.
Thank you. it is school Project. No other purpos. Can you please give me more details how to this. Do i have to change the kernel? is there a filesystem (case insensitive) which i could just place in a linux source code and remove the case sensitive one.
thanks again
Thank you for acknowledging that this is schoolwork.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.