[CentOS] case insensitive file system

Wed Apr 30 15:32:09 UTC 2008
Ruslan Sivak <russ at vshift.com>

Les Mikesell wrote:
> Ruslan Sivak wrote:
>> Jim Perrin wrote:
>>> On Wed, Apr 30, 2008 at 10:07 AM, Ruslan Sivak <russ at vshift.com> wrote:
>>> Does the entire filesystem need to be case insensitive, or is this a
>>> web based product, where you can do some apache rewrite-fu to make
>>> this work instead?
>> It is a web based product, but I'm not sure rewriterules would help.  
>> Lets say it's something like this
>> http://www.domain.com/index.php?action=foo
>> And inside index.php it does something like
>> <? include($_GET['page'].".php") ?>
>> This is a gross simplification, but it's my understanding that if the 
>> file was named 'foo.php' and someone typed in
>> http://www.domain.com/index.php?action=Foo
>> It would still work on windows, but not on linux because of case 
>> sensitivity.
> How do the files get there?  I'd probably use a brute force approach 
> like lowercasing everything on the way in, or if case needs to be 
> preserved store the real files in one place but build a symlink tree 
> somewhere else of all-lowercase names pointing to the real file, then 
> lowercase the reference and access the name in the symlink directory.
> If you absolutely have to do it through the filesystem, I think you 
> could samba-mount a directory (perhaps even shared from the same 
> machine) with the case insensitive option.
The files get there through the web app itself.  I will look into how 
hard it is to lowercase everything, but can't I just use something like 
vfat?  Isn't vfat case insensitive?