Re: OSX, ZFS, UTF8, git - somebody hates me in this list
- From
- Tarmigan <tarmigan+git@gmail.com>
- Date
- May 5, 2008, 19:00 UTC
- Message-ID
- <905315640805051200g4c155d15xada4f17e5e2fc424@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.1.10.0805051049440.32269@woody.linux-foundation.org>
On Mon, May 5, 2008 at 10:53 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 14 quoted lines
> On Mon, 5 May 2008, Randal L. Schwartz wrote: > > > > Also, ZFS is case-sensitive, which leads me to believe that out of > > the box, it's more like UFS. > > > > Still don't know why ZFS breaks but UFS works. > > UFS is a traditional Unix filesystem, and will not mangle your filenames. > > ZFS apparently acts like a case-sensitive HFS+: it still tries to > normalize to UTF-8 (and does it badly, at that - picking an Apple-specific > almost-NFD form of normalization rather than the more sensible NFC form). > > So ZFS may not corrupt cases, but it still corrupts UTF-8 filenames.
Not sure if that is always the case. This thread suggests otherwise: http://opensolaris.org/jive/thread.jspa?threadID=53303&tstart=0
Case sensitivity and mangling look like they are configurable. See the "casesensitivity" and "normalization" options at http://docs.sun.com/app/docs/doc/819-2240/zfs-1m
ZFS on OSX may just default to "insensitive" and some form of normalization especially if they were/are thinking about making it the default fs and wanted backwards compatibility for broken apps. Randal, can you make a new FS with casesensitivity=sensitive and normalization=none and see how it behaves?
-Tarmigan