APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Case sensitivity in filesystems

When I first used my iBook I was very annoyed by its case preserving, case insensitive HFS+ filesystem. Traditional Unix says "abc" and "ABC" are not the same file, but HFS+ says they are. I didn't like that very much, but I'm changing my mind. Unfortunately, Apple has changed their mind too.

With Tiger, the HFSX file system is case preserving. I didn't notice, and neither would anyone else who upgraded to Tiger because your old file system doesn't change with an upgrade. But people who installed new did get that, and that can cause problems if they have to move files to an older file system

Apple probably changed their minds because of existing Unix and Linux software that breaks when installed on case insensitive, case preserving systems because of two files with similar names (foo and Foo) that need to be different. I changed my mind simply because of support issues: it's highly annoying to tell someone they need to run "xf86config" when even I can't remember how the stupid thing is capitalized. I now agree that traditional Unix was dead wrong in this regard, but now we have a damn mess: Apple probably should have just said the heck with it, or (hard as it may be) should have designed a filesystem where case sensitivity can be set on a per directory basis - that would let us bring down conflicting file names when we needed to without confusing things as they are now. It would also let people choose their own poison: make the setting recursive, so if you really want this, set it at your root, and vice versa.

Given the other amazing things in these filesystems (like arstechnica.com/reviews/os/macosx-10.4.ars/7 (link dead, sorry) extended attributes, I can't imagine why this would have been all that difficult. Oh, well, maybe next time.

See also Detective: Renaming Files



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> Case sensitivity in filesystems


1 comment



Increase ad revenue 50-250% with Ezoic


More Articles by

Find me on Google+

© Anthony Lawrence







Tue Nov 21 18:31:39 2006: 2635   TonyLawrence

gravatar
Apparently they moved the default back.. my 10.4.8 new install used HFS+



------------------------
Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us





We must be very careful when we give advice to younger people: sometimes they follow it! (Edsger W. Dijkstra)

The teaching of BASIC should be rated as a criminal offence: it mutilates the mind beyond recovery. (Edsger W. Dijkstra)







This post tagged: