OS X

Aug 21, 2007 16:51

I learned today that HFS+ is a case preserving, case insensitive filesystem. HFS+ is the default filesystem on OS X. So, on my laptop:
$ touch test.txt TEST.txt
$ ls *.txt
test.txtSo, test.txt and TEST.txt (and TeSt.txt, ...) all refer to just one file. No wonder I could do open -a vlc instead of open -a VLC.

computers

Leave a comment

Comments 2

aakepley August 22 2007, 04:21:10 UTC
I've run into some interesting bugs relating to that. It's nasty.

Reply

gandalf013 August 22 2007, 15:08:14 UTC

$ ECHO TEST
TEST
$ which ECHO
/sw/bin/ECHO
$ ls /sw/bin/E*
ls: cannot access /sw/bin/E*: No such file or directory
$ MAN MAN
No manual entry for MANThis will take some getting used to. Everything was fine until I knew about this case insensitivity. :-)

Reply


Leave a comment

Up