Re: How to work on case-sensitive projects?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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: Kevin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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." This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Van Vechten