The hard drive on my Macbook recently died in horrible fashion (loud clicking noise -- no computer I've hooked it up to will even acknowledge that it's there), so I bought a new one and went through the process of reinstalling Tiger and then Leopard and all kinds of software, etc.
When I bought the computer, the filesystem was formatted as case-sensitive. Somehow this time around, I accidentally formatted as case-insensitive, which I do not want. I make reasonably heavy use of the Unix side of OS X and like it to behave as such.
Is there a way to change the formatting without reformatting? My model of how things work leads me to believe that this CAN be done, although perhaps utilities to do so don't exist. It seems that files are, in fact, being stored in the filesystem with the exact capitalization that I specify, but that comparisons are just looser. For example anytime the filesystem needs to compare, it just uses something like upperCase(file1) == upperCase(file2) and it seems to me that deciding to use the upperCase() comparison vs no transformation would just be triggered by some case-sensitive flag in the filesystem. So, toggling the flag in the filesystem would be all you'd need to do and everything would just behave normally. Anything I'm missing here? Obviously converting from case-sensitive to case-insensitive would be harder because you'll have collisions that need to be resolved, but I feel like I should be able to do what I want to do.
Thoughts?
Tags: