• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Any advantages of Unix formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Any advantages of Unix formatting
      • From: "John C. Randolph" <email@hidden>
    • Re: Any advantages of Unix formatting
      • From: Andreas Monitzer <email@hidden>
References: 
 >Re: Any advantages of Unix formatting (From: Jonathan Stimmel <email@hidden>)

  • Prev by Date: sliding views in Mail.app
  • Next by Date: Re: Distributed Objects help - a fun hack
  • Previous by thread: Re: Any advantages of Unix formatting
  • Next by thread: Re: Any advantages of Unix formatting
  • Index(es):
    • Date
    • Thread