-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OS X] [APFS] Make sure our file system unicode normalization will be correct #5650
Comments
For writing file, we only rely on Qt, in the propagator, which should normalize filenames, i believe. In other words, I believe we should be fine. But it's worth testing. |
Moving to 2.4, we should probably go with the approach of using Qt for directory iteration and stat()ing as mentioned in #5661 (comment) |
@jturcotte Is your macOS version able to create disk images with APFS? |
From https://mjtsai.com/blog/2017/06/27/apfs-native-normalization/
|
TODO:
|
Then there should not be any problem. We already normalize anyway on mac. So I bet there won't be issues. |
@guruz Doesn't look like I can for a |
On my Sierra Mac 10.12.5 it does NOT work. A file Amélie (filename created on shell using Well not silentely, it will print As mentioned above #5650 (comment) this might be better with 10.13.. (BTW, the same file works on a HFS+ sync dir) |
@SamuAlfageme Do you have a Mac with High Sierra? |
Same behaviour with 2.3.3 :[ The file gets silently ignored on an APFS volume but gets synced on a HFS+ volume (probably because there macOS normalizes..) |
@michaelstingl This is something we need to investigate further and discuss if it is a blocker. |
(I'm using 10.12.5..)
|
Yes, further investigation required. I've heard Apples API's/interfaces aren't final, could be easier when final release comes closer. @guruz @SamuAlfageme What are the steps to verify/reproduce this? |
@michaelstingl Ideally: To have a Mac with High Sierra (10.13) beta |
I will prepare a VM with High Sierra. |
Thanks a lot. Just be aware that according to what I read they differ in behavior between fresh install of the OS and update of OS (update converts the fs)
Although maybe that was an iOS only thing
|
My idea was to clone my existing Sierra VM, then update to High Sierra. I will keep an Snapshot, so I can revert whenever it's needed. I can also try a High Sierra clean install in another VM. |
tested on High Sierra APFS VM with APFS, not case sensitive, not encrypted. 2.3.2/2.3.3 properly syncs the filename Amélie pasted from wikipedia. master (with #5875) also properly syncs an emoji filename. (2.3 doesn't, it's a new feature of master) The OS didn't let me create filenames with invalid utf8 (i think) So I conclude APFS is fine with High Sierra, bad with Sierra which has APFS only for testing. |
https://news.ycombinator.com/item?id=13953800 -> http://mjtsai.com/blog/2017/03/24/apfss-bag-of-bytes-filenames/
https://eclecticlight.co/2017/04/07/apfs-and-macos-10-13-many-apps-and-tools-will-need-to-be-revised/
https://eclecticlight.co/2017/04/06/apfs-is-currently-unusable-with-most-non-english-languages/
The text was updated successfully, but these errors were encountered: