How can I get information if my HD format is case sensitive or case insensitive?
I want to make sure my Mac running Mountain Lion has a case sensitive file system.
|
How can I get information if my HD format is case sensitive or case insensitive? I want to make sure my Mac running Mountain Lion has a case sensitive file system. |
|||||
|
|
You can use terminal to read the File System Personality:
Look for the fields named below:
If the file system is case sensitive, you will see Case-sensitive Journaled HFS in the first pasted line and Mac OS Extended (Case-sensitive, Journaled) in the third. Disk Utility will also show you this from the info window for any File System it can see. |
|||||||||||||||||||
|
|
You can do a test in a shell:
If the ls command displays both files ABC1 and abc2, then your drive is case insensitive. If only abc2 is displayed, then it is case sensitive. |
||||
|
|
|
run
If you see: |
|||
|
|
|
Jean-François Beauchamp's solution doesn't work properly. Testing
Interpreting Results
|
|||
|
|
|
Fastest way is using Terminal.app:
or (if you want to only see the relevant line)
|
|||
|
|
|
Unfortunately Jean-François Beauchamp's solution that relies on 'ls' doesn't seem to work for me (OS X 10.8.2). I have a case-insensitive file system, but ls still only lists 'abc2'. What does work for me is:
|
||||
|
|
|
You can also use Disk Utility to check the partition format. If the format is case-sensitive, it will say so in the format name, otherwise nothing will be indicated. You can see the menus on this link: http://www.kenstone.net/fcp_homepage/partitioning_tiger.html Beware that it is not the "Mac" that is case-sensitive or not, it is each partition on your drives. |
|||
|
|