Insensitive OS X11 Nov 2015
On my Mac running Yosemite(10.10.2) I tried:
Coming from a case sensitive *nix world, this was strange. Why does Apple need a case insensitive file system?
Who knows, but here’s A Linus Rant on it.
HFS+ (the Mac filesystem) is usually configured to be case insensitive but case preserving. Case insensitive means that this works:
However, when you create a new file it will remember which letters were capitalized and which were not.
HFS is a bit of an oddity, having the ability to ignore and recognize case at the same time.
To know whether your Mac filesystem is case sensitive or not, use the
Look for the
File System Personality and
Name fields in the output. If the file system is case sensitive, you will see Case-sensitive Journaled HFS in the File System Personality and Mac OS Extended (Case-sensitive, Journaled) in the name.
Say you need to copy files from a *nix system, or do something else that requires a case sensitive file system, you can create a case sensitive disk image on your Mac as follows:
Linus would be proud.