Re: Any advantages of Unix formatting
Re: Any advantages of Unix formatting
- Subject: Re: Any advantages of Unix formatting
- From: Markus Hitter <email@hidden>
- Date: Wed, 5 Sep 2001 23:42:39 +0200
Am Dienstag, 4. September 2001 um 22:37 schrieb Jonathan Stimmel:
Actually, I was surprised that I *could* create two *files* with
case-insensitive conflicting names, however not without weird side
effects ("rm" demonstrated here):
$ touch aaa
$ touch AAA
$ ls -l aaa AAA
-rw-r--r-- 1 jon staff 0 Sep 4 13:35 AAA
-rw-r--r-- 1 jon staff 0 Sep 4 13:35 aaa
$ rm AAA
$ ls -l aaa AAA
ls: AAA: No such file or directory
ls: aaa: No such file or directory
This is almost exactly what I tried:
Nobile:/tmp/test$ touch bla
Nobile:/tmp/test$ touch Bla
Nobile:/tmp/test$ ll
total 0
-rw-r--r-- 1 mah wheel 0 Sep 5 21:43 bla
Nobile:/tmp/test$ cp bla Bla
cp: Bla and bla are identical (not copied).
Just, the result is different. I'm using OS X 10.0.4, factory
formatted HFS+ volume. What might be the difference between our
systems?
Sometimes this Darwin stuff really puzzles me ...
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
P.S.: a little continuation:
Nobile:/tmp/test$ gnutar -cvf bla.tar bla
bla
Nobile:/tmp/test$ gnutar -uvf bla.tar Bla
Bla
Nobile:/tmp/test$ tar -tvf bla.tar
-rw-r--r-- 1 mah wheel 0 Sep 5 21:43 bla
-rw-r--r-- 1 mah wheel 0 Sep 5 21:43 Bla
Nobile:/tmp/test$ gnutar -xvf bla.tar
bla
Bla
Nobile:/tmp/test$ ll
total 24
-rw-r--r-- 1 mah wheel 0 Sep 5 21:43 bla
-rw-r--r-- 1 mah wheel 10240 Sep 5 21:46 bla.tar