OSX case sensitivity "reporting" issue when using mimic_hfs

All your general support questions for OpenZFS on OS X.

OSX case sensitivity "reporting" issue when using mimic_hfs

Postby Double K » Thu Nov 30, 2017 6:10 am

O3X 1.6.1 on macOS Sierra 10.12.6 on Mac Pro (2013)

zpool create with -O casesensitivity=insensitive
zfs get shows dataset with casesensitivity set to insensitive
OS "Get Info" shows Format: ZFS Dataset

If I then do
zfs set com.apple.mimic_hfs=on datasetname
OS "Get Info" shows Format: Mac OS Extended (Case-sensitive)

Something in the OS is ignoring casesensitivity=insensitive when com.apple.mimic_hfs=on

Note that I mark this as a "reporting" issue, because creation of a second folder/file with the same name in different case successfully fails. (ie. Create "Test":works, then Create "test":fails = success! for dataset with casesensitivity=insensitive)

EDIT: This may be related: https://github.com/openzfsonosx/zfs/issues/321
Double K
Posts: 5
Joined: Mon Nov 06, 2017 3:04 pm

Re: OSX case sensitivity "reporting" issue when using mimic_

Postby lundman » Thu Nov 30, 2017 5:17 pm

It could be related to that we use subtype to signal that we really are ZFS when lying about hfs (userland zfs tools need to know)

https://github.com/openzfsonosx/zfs/blo ... ps.c#L2739

So, we never set the correct subtype based on case sensitivity.
User avatar
Posts: 383
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: OSX case sensitivity "reporting" issue when using mimic_

Postby abc123 » Fri Dec 01, 2017 12:06 am

I wonder if this is related to the issue discussed here: viewtopic.php?f=26&t=2911

I don't think I had mimic_hfs set when I saw this issue but can't be sure. I moved Dropbox back to HFS so can't investigate again now.
Posts: 29
Joined: Mon Jan 30, 2017 11:46 pm

Return to General Help

Who is online

Users browsing this forum: No registered users and 1 guest