• 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: David Remahl <email@hidden>
  • Date: Wed, 5 Sep 2001 20:19:04 +0200

Yes, that was exactly what I meant. I tried, like you, to explain what case preservation is, and is not, but I realize I was a bit to terse ;-)

/ david

Look at it this way, if you have a file "Foo" and a file "foo" in the same directory, and the file system is case-insensitive, then how do the names of the files differ? They don't. Since they're exactly the same name (case-insensitive, remember), they can't co-exist.

Case-preserving just means that it'll remember how you typed the cases when you created the file, so "Foo" stays "Foo". But if you refer to it as "foo" somewhere, it'll work, because the system is case insensitive. This wouldn't work if "foo" could be a different file.

So your impression is correct, just not relevant to whether two files in the same directory can have names that differ only in case.

Put yet *another* way, just because it remembers what case the filename was typed with, doesn't mean it uses that information for anything other than display.

-Patrick

I was under the impression that (case preserving) == (remembers what case a filename was typed in, and doesn't just show all filenames as lowercase)...

/ david

David,

Could please somebody who *DOES* understand HFS+ comment on?
David Herren (DH) wrote at Tue, 4 Sep 2001 21:32:20 -0400:
DH> According to the WWDC session I saw on this, HFS+ is case insensitive,
DH> but also case preserving.
DH> Thus you can have two files that differ only in case in the same
DH> directory.

You really sure?!? I understood this debate ended by result that you _CAN'T_?!?

Definitely it was proven that things like "touch aaa; touch AAA" or "echo
foo > aaa ; echo bar > AAA" won't do the trick. What would?

------------------------
Patrick Coskren Speaking only for myself...
Senior Web Developer
United Media. <http://www.comics.com>


  • Prev by Date: Re: what's difference and relationship between CoreFoundation and Fou ndation framework
  • Next by Date: How to add sheets?
  • Previous by thread: Re: Any advantages of Unix formatting
  • Next by thread: NSImage initWithContentsOfURL:
  • Index(es):
    • Date
    • Thread