• 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: How to work on case-sensitive projects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to work on case-sensitive projects?


  • Subject: Re: How to work on case-sensitive projects?
  • From: Kevin Van Vechten <email@hidden>
  • Date: Wed, 7 Oct 2009 10:47:09 -0700


On Oct 7, 2009, at 10:40 AM, Alastair Houghton wrote:

On 7 Oct 2009, at 18:30, Kevin Van Vechten wrote:

On Oct 7, 2009, at 10:23 AM, Alastair Houghton wrote:

HFS+, however, has an option to be case-sensitive, and you can format such a filesystem with Disk Utility or third-party software such as (shameless plug) iPartition.
[...]
In the meantime, you can create a case-sensitive HFS+ filesystem somewhere (e.g. in a disk image, in another partition, on an external disk, or mounted over the network) where you'll get the behaviour you want.

Minor nit: HFS+ is case-preserving but not case-sensitive. HFSX (a minor revision to the HFS+ volume format) optionally supports case- sensitive file names.

HFSX is really just a shorthand notation though. The UI generally refers to "Mac OS Extended" (i.e. HFS+), and puts annotations such as case-sensitive and journaled in parentheses afterwards.


IIRC the name "HFSX" comes from the Apple Partition Map type code ("Apple_HFSX") and *that* only exists to stop older software from getting confused when it finds it, and only then because people weren't checking the filesystem version number in the volume header.

When using command line utilities such as diskutil and hdiutil you'll want to specify HFSX not HFS+.

Yes. That doesn't make HFSX the name, however, any more than JHFS+ or HFS+J is the name of HFS+ with a journal. I maintain that the filesystem itself is either called "HFS+" or "Mac OS Extended" and that case-sensitivity is an *option*.


This is borne out by the fact that there is only a single partition type in GPTs for both kinds of HFS+.

Maintain all you want, but my comment was purely for practical purposes. From hdiutil(1):
-fs filesystem
where filesystem is one of HFS+, HFS+J (JHFS+),
HFSX, JHFS+X, MS-DOS, or UDF.


Also, from TN1150 <http://developer.apple.com/mac/library/technotes/tn/tn1150.html >:

"A variant of HFS Plus, called HFSX, allows volumes whose names are compared in a case-sensitive fashion. The names are fully decomposed and in canonical order, but no Unicode characters are ignored during the comparison."

Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to work on case-sensitive projects? (From: Allen Curtis <email@hidden>)
 >Re: How to work on case-sensitive projects? (From: Jamison Hope <email@hidden>)
 >Re: How to work on case-sensitive projects? (From: Alastair Houghton <email@hidden>)
 >Re: How to work on case-sensitive projects? (From: Allen Curtis <email@hidden>)
 >Re: How to work on case-sensitive projects? (From: Alastair Houghton <email@hidden>)
 >Re: How to work on case-sensitive projects? (From: Kevin Van Vechten <email@hidden>)
 >Re: How to work on case-sensitive projects? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: How to work on case-sensitive projects?
  • Next by Date: Re: How to work on case-sensitive projects?
  • Previous by thread: Re: How to work on case-sensitive projects?
  • Next by thread: Re: How to work on case-sensitive projects?
  • Index(es):
    • Date
    • Thread