{"thread":{"id":"13376","subject":"OSX, ZFS, UTF8, git - somebody hates me in this list","startedAt":"2008-05-04T21:07:35Z","lastAt":"2008-05-06T08:48:05Z","messageCount":16,"participants":["Randal L. Schwartz","Shawn O. Pearce","David Brown","Wincent Colaiuta","Linus Torvalds","Tarmigan","Mitch Tishmack","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"76043","messageId":"86wsm9dbhk.fsf@blue.stonehenge.com","threadId":"13376","inReplyTo":null,"subject":"OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2008-05-04T21:07:35Z","receivedAt":"2008-05-04T21:07:35Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":"\nrepeat by:\n    0) download the OSX ZFS drivers\n    1) Make a ZFS partition on OSX.\n    2) Clone git.git to the ZFS partition\n    3) immediately type git-status:\n\n    # On branch master\n    # Untracked files:\n    #   (use \"git add <file>...\" to include in what will be committed)\n    #\n    #       \"gitweb/test/Ma\\314\\210rchen\"\n    nothing added to commit but untracked files present (use \"git add\" to track)\n\n    4) try \"git-clean -f\"\n    Removing \"gitweb/test/Ma\\314\\210rchen\"\n\n    5) try git-status now:\n    # On branch master\n    # Changed but not updated:\n    #   (use \"git add/rm <file>...\" to update what will be committed)\n    #\n    #       deleted:    \"gitweb/test/M\\303\\244rchen\"\n    #\n    no changes added to commit (use \"git add\" and/or \"git commit -a\")\n\n    6) still broken.  try git-reset --hard HEAD\n    HEAD is now at c697ad1 Cleanup xread() loops to use read_in_full()\n    7) and now git-status again:\n\n    # On branch master\n    # Untracked files:\n    #   (use \"git add <file>...\" to include in what will be committed)\n    #\n    #       \"gitweb/test/Ma\\314\\210rchen\"\n    nothing added to commit but untracked files present (use \"git add\" to track)\n\nThat's broke, and a show-stopper for me to use ZFS on OSX.  Ugh.\n\nCan someone with ZFS on solaris try this, to try to figure out if this\nis a problem with git, ZFS, OSX, or some combination?\n\nThanks.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nSmalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.\nSee http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion\n"},{"id":"76045","messageId":"20080504215208.GG29038@spearce.org","threadId":"13376","inReplyTo":"86wsm9dbhk.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-05-04T21:52:08Z","receivedAt":"2008-05-04T21:52:08Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"\"Randal L. Schwartz\" <merlyn@stonehenge.com> wrote:\n> \n> repeat by:\n>     0) download the OSX ZFS drivers\n>     1) Make a ZFS partition on OSX.\n>     2) Clone git.git to the ZFS partition\n>     3) immediately type git-status:\n> \n>     # On branch master\n>     # Untracked files:\n>     #   (use \"git add <file>...\" to include in what will be committed)\n>     #\n>     #       \"gitweb/test/Ma\\314\\210rchen\"\n>     nothing added to commit but untracked files present (use \"git add\" to track)\n\nIsn't this just the normal HFS+ name mangling?\n\nApparently the ZFS port to Mac OS X includes the same braindamaged\nUTF normalization that is applied to HFS+ volumes, which means\nthey have reused the code or pushed it higher in their VFS layer.\nLinus has started to add support for teaching Git about this sort\nof brain damaged filesystem, but nobody has implemented the Mac OS\nX specific name hashing function required to make Git see that the\nname it got from the readdir(3) call is the same name Git passed\nto the OS, just encoded differently.\n\n-- \nShawn.\n"},{"id":"76046","messageId":"86skwxd97d.fsf@blue.stonehenge.com","threadId":"13376","inReplyTo":"20080504215208.GG29038@spearce.org","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2008-05-04T21:56:54Z","receivedAt":"2008-05-04T21:56:54Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Shawn\" == Shawn O Pearce <spearce@spearce.org> writes:\n\nShawn> \"Randal L. Schwartz\" <merlyn@stonehenge.com> wrote:\n>> \n>> repeat by:\n>> 0) download the OSX ZFS drivers\n>> 1) Make a ZFS partition on OSX.\n>> 2) Clone git.git to the ZFS partition\n>> 3) immediately type git-status:\n>> \n>> # On branch master\n>> # Untracked files:\n>> #   (use \"git add <file>...\" to include in what will be committed)\n>> #\n>> #       \"gitweb/test/Ma\\314\\210rchen\"\n>> nothing added to commit but untracked files present (use \"git add\" to track)\n\nShawn> Isn't this just the normal HFS+ name mangling?\n\nI don't recall having this problem on HFS+.\n\nBut, oh, it's because my git.git is on a UFS partition.  So UFS works\nfine.  Why shouldn't ZFS (which will be closer to UFS than HFS+)\nbe the same?\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nSmalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.\nSee http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion\n"},{"id":"76047","messageId":"86k5i9d91w.fsf@blue.stonehenge.com","threadId":"13376","inReplyTo":"86skwxd97d.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2008-05-04T22:00:11Z","receivedAt":"2008-05-04T22:00:11Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Randal\" == Randal L Schwartz <merlyn@stonehenge.com> writes:\n\n>>>>> \"Shawn\" == Shawn O Pearce <spearce@spearce.org> writes:\n\nShawn> Isn't this just the normal HFS+ name mangling?\n\nRandal> I don't recall having this problem on HFS+.\n\nAhh, oddly enough, it does exactly the same on HFS+, but *not* UFS, which is\nwhy I hadn't noticed it yet, since all of my things I mirror are on my UFS\npartition, just in case they have case-colliding names.\n\nI'm trying to get rid of my UFS partition because it's a pain in the rear,\nso I was hoping to upgrade to ZFS.  Hence, the query.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nSmalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.\nSee http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion\n"},{"id":"76048","messageId":"20080504220425.GI29038@spearce.org","threadId":"13376","inReplyTo":"86skwxd97d.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-05-04T22:04:25Z","receivedAt":"2008-05-04T22:04:25Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"\"Randal L. Schwartz\" <merlyn@stonehenge.com> wrote:\n> >> \n> >> # On branch master\n> >> # Untracked files:\n> >> #   (use \"git add <file>...\" to include in what will be committed)\n> >> #\n> >> #       \"gitweb/test/Ma\\314\\210rchen\"\n> >> nothing added to commit but untracked files present (use \"git add\" to track)\n> \n> Shawn> Isn't this just the normal HFS+ name mangling?\n> \n> I don't recall having this problem on HFS+.\n\nEveryone has this problem on HFS+.  :-|\n \n> But, oh, it's because my git.git is on a UFS partition.  So UFS works\n> fine.  Why shouldn't ZFS (which will be closer to UFS than HFS+)\n> be the same?\n\nBecause Apple is Apple and things must be done The Apple Way(tm),\nor no black turtleneck for you?\n\n-- \nShawn.\n"},{"id":"76049","messageId":"86fxsxd8qy.fsf@blue.stonehenge.com","threadId":"13376","inReplyTo":"20080504220425.GI29038@spearce.org","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2008-05-04T22:06:45Z","receivedAt":"2008-05-04T22:06:45Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Shawn\" == Shawn O Pearce <spearce@spearce.org> writes:\n\nShawn> Because Apple is Apple and things must be done The Apple Way(tm),\nShawn> or no black turtleneck for you?\n\nSo apparently the problem is known.\nIs it also understood?\nIs the solution understood, and just waiting for implementor tuits?\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nSmalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.\nSee http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion\n"},{"id":"76051","messageId":"20080504221510.GJ29038@spearce.org","threadId":"13376","inReplyTo":"86fxsxd8qy.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-05-04T22:15:10Z","receivedAt":"2008-05-04T22:15:10Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"\"Randal L. Schwartz\" <merlyn@stonehenge.com> wrote:\n> >>>>> \"Shawn\" == Shawn O Pearce <spearce@spearce.org> writes:\n> \n> Shawn> Because Apple is Apple and things must be done The Apple Way(tm),\n> Shawn> or no black turtleneck for you?\n> \n> So apparently the problem is known.\n> Is it also understood?\n> Is the solution understood, and just waiting for implementor tuits?\n\nYes, I think the issue has been beat to death here on the mailing\nlist by many parties.  Its more just an issue of someone writing\nthe code and finding the little implementation details that weren't\ndiscussed yet.\n\n-- \nShawn.\n"},{"id":"76077","messageId":"20080505065259.GA25070@old.davidb.org","threadId":"13376","inReplyTo":"86k5i9d91w.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"David Brown","fromEmail":"git@davidb.org","sentAt":"2008-05-05T06:52:59Z","receivedAt":"2008-05-05T06:52:59Z","isPatch":false,"sender":{"key":"git@davidb.org","avatar":"https://gravatar.com/avatar/94c86a2938470a74c2eac5e2b69afc0871f79a660295c02219597aba8cb101c1?d=mp&s=160"},"body":"On Sun, May 04, 2008 at 03:00:11PM -0700, Randal L. Schwartz wrote:\n\n>Ahh, oddly enough, it does exactly the same on HFS+, but *not* UFS, which is\n>why I hadn't noticed it yet, since all of my things I mirror are on my UFS\n>partition, just in case they have case-colliding names.\n\nAnyone know if 'case sensitive' HFS+ does name mangling?  Perhaps ZFS can\nalso be formed as case sensitive.\n\nDavid\n"},{"id":"76109","messageId":"C836878F-7163-4AE2-91A4-E6A0F0AF3914@wincent.com","threadId":"13376","inReplyTo":"20080505065259.GA25070@old.davidb.org","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Wincent Colaiuta","fromEmail":"win@wincent.com","sentAt":"2008-05-05T10:33:25Z","receivedAt":"2008-05-05T10:33:25Z","isPatch":false,"sender":{"key":"greg@hurrell.net","avatar":"https://avatars.githubusercontent.com/u/7074?v=4"},"body":"El 5/5/2008, a las 8:52, David Brown escribió:\n> On Sun, May 04, 2008 at 03:00:11PM -0700, Randal L. Schwartz wrote:\n>\n>> Ahh, oddly enough, it does exactly the same on HFS+, but *not* UFS,  \n>> which is\n>> why I hadn't noticed it yet, since all of my things I mirror are on  \n>> my UFS\n>> partition, just in case they have case-colliding names.\n>\n> Anyone know if 'case sensitive' HFS+ does name mangling?  Perhaps  \n> ZFS can\n> also be formed as case sensitive.\n\nI believe case-sensitive HFS+ also mangles names.\n\nI for one am pretty disappointed that Apple has chosen to bring across  \nthis undesirable behaviour from their legacy file system to a  \ncompletely new one, when this would have been a perfect opportunity  \nfor them to break with the bad design decisions of the past. It's  \nstill pre-release, of course, so I guess there's still hope that their  \nfinal version might not preserve this flaw.\n\nWincent\n"},{"id":"76145","messageId":"8663tsbqg0.fsf@blue.stonehenge.com","threadId":"13376","inReplyTo":"86skwxd97d.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2008-05-05T17:39:43Z","receivedAt":"2008-05-05T17:39:43Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Randal\" == Randal L Schwartz <merlyn@stonehenge.com> writes:\n\nShawn> Isn't this just the normal HFS+ name mangling?\n\nRandal> I don't recall having this problem on HFS+.\n\nAlso, ZFS is case-sensitive, which leads me to believe that out of\nthe box, it's more like UFS.\n\nStill don't know why ZFS breaks but UFS works.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nSmalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.\nSee http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion\n"},{"id":"76146","messageId":"alpine.LFD.1.10.0805051049440.32269@woody.linux-foundation.org","threadId":"13376","inReplyTo":"8663tsbqg0.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Linus Torvalds","fromEmail":"torvalds@linux-foundation.org","sentAt":"2008-05-05T17:53:56Z","receivedAt":"2008-05-05T17:53:56Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Mon, 5 May 2008, Randal L. Schwartz wrote:\n> \n> Also, ZFS is case-sensitive, which leads me to believe that out of\n> the box, it's more like UFS.\n> \n> Still don't know why ZFS breaks but UFS works.\n\nUFS is a traditional Unix filesystem, and will not mangle your filenames.\n\nZFS apparently acts like a case-sensitive HFS+: it still tries to \nnormalize to UTF-8 (and does it badly, at that - picking an Apple-specific \nalmost-NFD form of normalization rather than the more sensible NFC form).\n\nSo ZFS may not corrupt cases, but it still corrupts UTF-8 filenames.\n\n\t\t\tLinus\n"},{"id":"76147","messageId":"905315640805051200g4c155d15xada4f17e5e2fc424@mail.gmail.com","threadId":"13376","inReplyTo":"alpine.LFD.1.10.0805051049440.32269@woody.linux-foundation.org","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Tarmigan","fromEmail":"tarmigan+git@gmail.com","sentAt":"2008-05-05T19:00:48Z","receivedAt":"2008-05-05T19:00:48Z","isPatch":false,"sender":{"key":"tarmigan+git@gmail.com","avatar":null},"body":"On Mon, May 5, 2008 at 10:53 AM, Linus Torvalds\n<torvalds@linux-foundation.org> wrote:\n>  On Mon, 5 May 2008, Randal L. Schwartz wrote:\n>  >\n>  > Also, ZFS is case-sensitive, which leads me to believe that out of\n>  > the box, it's more like UFS.\n>  >\n>  > Still don't know why ZFS breaks but UFS works.\n>\n>  UFS is a traditional Unix filesystem, and will not mangle your filenames.\n>\n>  ZFS apparently acts like a case-sensitive HFS+: it still tries to\n>  normalize to UTF-8 (and does it badly, at that - picking an Apple-specific\n>  almost-NFD form of normalization rather than the more sensible NFC form).\n>\n>  So ZFS may not corrupt cases, but it still corrupts UTF-8 filenames.\n\nNot sure if that is always the case.  This thread suggests otherwise:\nhttp://opensolaris.org/jive/thread.jspa?threadID=53303&tstart=0\n\nCase sensitivity and mangling look like they are configurable.  See\nthe \"casesensitivity\" and \"normalization\" options at\nhttp://docs.sun.com/app/docs/doc/819-2240/zfs-1m\n\nZFS on OSX may just default to \"insensitive\" and some form of\nnormalization especially if they were/are thinking about making it the\ndefault fs and wanted backwards compatibility for broken apps.\nRandal, can you make a new FS with casesensitivity=sensitive and\nnormalization=none and see how it behaves?\n\n-Tarmigan\n"},{"id":"76148","messageId":"86fxswa7ra.fsf@blue.stonehenge.com","threadId":"13376","inReplyTo":"905315640805051200g4c155d15xada4f17e5e2fc424@mail.gmail.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2008-05-05T19:08:41Z","receivedAt":"2008-05-05T19:08:41Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Tarmigan\" == Tarmigan  <tarmigan+git@gmail.com> writes:\n\nTarmigan> ZFS on OSX may just default to \"insensitive\" and some form of\nTarmigan> normalization especially if they were/are thinking about making it the\nTarmigan> default fs and wanted backwards compatibility for broken apps.\nTarmigan> Randal, can you make a new FS with casesensitivity=sensitive and\nTarmigan> normalization=none and see how it behaves?\n\nAs I posted in a followup, without twiddling anything, ZFS on OSX\nis case *sensitive*, but apparently still \"normalizes\", which is causing\nthe trip-up.  I'll look to see if there are any parameters I can tweak\nto keep it from doing that, but I doubt it.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nSmalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.\nSee http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion\n"},{"id":"76149","messageId":"A9FCB174-C3CC-4DB4-91CA-9AFA32AAF11E@gmail.com","threadId":"13376","inReplyTo":"905315640805051200g4c155d15xada4f17e5e2fc424@mail.gmail.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Mitch Tishmack","fromEmail":"mitcht.git@gmail.com","sentAt":"2008-05-05T19:32:30Z","receivedAt":"2008-05-05T19:32:30Z","isPatch":false,"sender":{"key":"mitcht.git@gmail.com","avatar":null},"body":"\nOn May 5, 2008, at 02:00 PM, Tarmigan wrote:\n>\n> Not sure if that is always the case.  This thread suggests otherwise:\n> http://opensolaris.org/jive/thread.jspa?threadID=53303&tstart=0\n>\n> Case sensitivity and mangling look like they are configurable.  See\n> the \"casesensitivity\" and \"normalization\" options at\n> http://docs.sun.com/app/docs/doc/819-2240/zfs-1m\n>\n> ZFS on OSX may just default to \"insensitive\" and some form of\n> normalization especially if they were/are thinking about making it the\n> default fs and wanted backwards compatibility for broken apps.\n> Randal, can you make a new FS with casesensitivity=sensitive and\n> normalization=none and see how it behaves?\n\nThose are only valid in OpenSolaris at the moment, they do nothing on  \nthe Leopard zfs beta:\nmacbookprov2# zfs set casesensitivity=sensitive zfs\ncannot set property for 'zfs': invalid property 'casesensitivity'\nmacbookprov2# zfs set normalization=none zfs\ncannot set property for 'zfs': invalid property 'normalization'\nmacbookprov2# uname -a\nDarwin macbookprov2.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar   \n4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386\nmacbookprov2# zfs get all zfs\nNAME  PROPERTY       VALUE                  SOURCE\nzfs   type           filesystem             -\nzfs   creation       Sun May  4 22:03 2008  -\nzfs   used           38.3M                  -\nzfs   available      922M                   -\nzfs   referenced     38.2M                  -\nzfs   compressratio  1.00x                  -\nzfs   mounted        yes                    -\nzfs   quota          none                   default\nzfs   reservation    none                   default\nzfs   recordsize     128K                   default\nzfs   mountpoint     /Volumes/zfs           default\nzfs   sharenfs       off                    default\nzfs   checksum       on                     default\nzfs   compression    off                    default\nzfs   atime          on                     default\nzfs   devices        on                     default\nzfs   exec           on                     default\nzfs   setuid         on                     default\nzfs   readonly       off                    default\nzfs   zoned          off                    default\nzfs   snapdir        hidden                 default\nzfs   aclmode        groupmask              default\nzfs   aclinherit     secure                 default\nzfs   canmount       on                     default\nzfs   shareiscsi     off                    default\nzfs   xattr          on                     default\nzfs   copies         1                      default\nzfs   version        1                      -\n\nmitch\n"},{"id":"76150","messageId":"alpine.LFD.1.10.0805051240150.32269@woody.linux-foundation.org","threadId":"13376","inReplyTo":"86fxswa7ra.fsf@blue.stonehenge.com","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Linus Torvalds","fromEmail":"torvalds@linux-foundation.org","sentAt":"2008-05-05T19:45:38Z","receivedAt":"2008-05-05T19:45:38Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Mon, 5 May 2008, Randal L. Schwartz wrote:\n> \n> As I posted in a followup, without twiddling anything, ZFS on OSX\n> is case *sensitive*, but apparently still \"normalizes\", which is causing\n> the trip-up.  I'll look to see if there are any parameters I can tweak\n> to keep it from doing that, but I doubt it.\n\nWell, the good news is that while the utf-8 normalization is crazy, you're \npretty unlikely to actually hit it in practice. The git archive has the \nMärchen file on purpose to find these kinds of issues, but it's harmless \nappart from the annoyance.\n\nYes, some projects will have i18n support that may have files with special \ncharacters on purpose, and they can cause problems. Not least exactly \nbecause OS X does all the normalization exactly the wrong way (ie it chose \nthe _unusual_ way to do things, expanding strings to their longest format \nrather than their shortest format), but I would expect it to be very rare \nin general, partly because it doesn't really matter what SCM you use to \ntrack things, and you'll have similar issues if you ever develop anything \nacross OS's.\n\nWe can fix it. Junio hasn't merged my stupid infrastructure into core git \nyet, and I still don't really care enough or have a OS X box to test on \n(I've got a couple of mac minis, but they run that other OS ;), but we'll \nget the insane OS X crap handled *some* day.\n\n\t\t\tLinus\n"},{"id":"76188","messageId":"alpine.DEB.1.00.0805060946510.30431@racer","threadId":"13376","inReplyTo":"alpine.LFD.1.10.0805051240150.32269@woody.linux-foundation.org","subject":"Re: OSX, ZFS, UTF8, git - somebody hates me in this list","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-05-06T08:48:05Z","receivedAt":"2008-05-06T08:48:05Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 5 May 2008, Linus Torvalds wrote:\n\n> We can fix it. Junio hasn't merged my stupid infrastructure into core \n> git yet, and I still don't really care enough or have a OS X box to test \n> on (I've got a couple of mac minis, but they run that other OS ;), but \n> we'll get the insane OS X crap handled *some* day.\n\nFWIW I think you can reproduce on Linux.  AFAIR there is some code in the \nhfs or hfsplus modules to perform the same UTF-8 normalization.\n\nCiao,\nDscho\n"}]}