JimD wrote:
2) Linus is apparently very case-sensitive which poses a problem when some legacy code (stored in a database) whereby some directory/file calls are written in mixed upper and lower case. Is there a way to turn off the case-sensitive requirement in Linux?
Not sure if the database information is used internally or if you're storing URLs. If the latter, note that aside from the hostname, URLs themselves are case sensitive by definition, so if anything, Linux is behaving more accurately. The fact that some web servers running on some case-insensitive systems (like Windows) might permit case insensitive URLs if they are referring to filenames is luck, but not something that any production system should assume.
If the issue is URLs handed to clients, you may also be able to normalize the URLs within your web server, depending on server (e.g., lightppd has a server.force-lowercase-filenames option).
But if it's just internal data being stored, I'd personally just bite the bullet and make one pass over your system to normalize your database and filesystem (changing whichever you prefer to match the latter). Or if you have control of code using the database data, you could lowercase your entire filesystem and then just have that code lowercase anything it retrieves from the database before use.
Case sensitivity is the norm in *nix environments. Having matching data between your database and filesystem works anywhere, so is the best normalized form, while assuming case insensitivity only works on some system and filesystem combinations.
I do think some searching may turn up some case insensitive overlay filesystems for Linux, but I haven't used any, nor am I sure I would in production. I suppose you could create and mount a FAT filesystem to hold your data, or access it through Samba, but again I don't think I'd find either approach attractive.
-- David