git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: OSX, ZFS, UTF8, git - somebody hates me in this list

From
TTarmigan <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
Previous: Linus TorvaldsNext: Randal L. Schwartz
Message 12 of 16 in “OSX, ZFS, UTF8, git - somebody hates me in this list”
  1. Randal L. SchwartzMay 4, 2008
  2. Shawn O. PearceMay 4, 2008
  3. Randal L. SchwartzMay 4, 2008
  4. Randal L. SchwartzMay 4, 2008
  5. David BrownMay 5, 2008
  6. Wincent ColaiutaMay 5, 2008
  7. Shawn O. PearceMay 4, 2008
  8. Randal L. SchwartzMay 4, 2008
  9. Shawn O. PearceMay 4, 2008
  10. Randal L. SchwartzMay 5, 2008
  11. Linus TorvaldsMay 5, 2008
  12. TarmiganMay 5, 2008
  13. Randal L. SchwartzMay 5, 2008
  14. Linus TorvaldsMay 5, 2008
  15. Johannes SchindelinMay 6, 2008
  16. Mitch TishmackMay 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.