Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What methods are there to make the Linux filesystem case-INSENSITIVE ?

I have applications developed on Windows, but there are always issues with capitalization/spelling on mono when putting it on Linux.

One way is to mount a localhost SMB share to /var/www. Are there any others ?

share|improve this question
Wouldn't it be easier to fix the application than hack the os to work around the broken app? – Aaron Tate Mar 23 '10 at 13:04
Is this web app being served through apache, you could use mod_speling. – Zoredache Mar 23 '10 at 15:26
This sounds like a pretty obvious case of "Or you can teach your web developers to be consistent with their file naming, on pain of pain" – Shadur Mar 5 '15 at 5:35
up vote 14 down vote accepted

There's a case insensitive ext3 driver, but, frankly, running such a thing in production would scare me a bit, since you're rolling your own custom kernel with patched-in drivers. (Yeah, yeah-- we did that all the time "back in the day", but that was, like, 1997...)

There's a FUSE implementation, ciopfs, that implements case insensitivity as well. That would be a lot less scary to me to use in production than a patched kernel.

You could also use a case-insensitive filesystem, like VFAT, for the /var/www folder hierarchy. I'd use a loopback mount in that case, such that you don't have to mess with your disk partitioning.

share|improve this answer
ciopfs is crap, i tried it, it does only map lowercase to lowercase, ignoring any uppercase... – Quandary May 29 '10 at 12:11
@Quandary Run awk '/^ciopfs/ {print $2}' /proc/mounts and that will output the name of the directory to use. After you run ciopfs a/ b/ you should not access or modify files under a/. – user67717 Dec 23 '12 at 18:08
@Quandary the lowercase constraint is written right on the project's page and is pretty obvious tbh, did you try to improve it to handle your use case or at least RTFM before use? – Michael Shigorin Dec 3 '15 at 9:12

If you're talking about case insensitivity ONLY within apps running under Mono, you can use the IOMAP environment variable to tell mono to ignore case just like Windows does.

See the details on its use here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.