- Code: Select all
1. Create a file on your Desktop, named
- Code: Select all
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSÜ
(note the umlaut at the end)
2. Copy this file onto a ZFS volume using the /bin/cp command.
3. There is no step three.
The issue is caused by an incorrect implementation at the FS driver layer; the OS expects to be able to write files with a maximum of 256 UTF-16 code units, whereas the OpenZFS driver for macOS in its current implementation only allows 256-bytes of UTF-8, and these don't always line up. In the past, this caused the file copy operation to fail with an error; now, it crashes the entire OS (at least on my machine). I hope that this isn't the result of something like a buffer overflow inside of kernel driver code.
Incidentally, I reported this issue six years ago, and received a fair amount of abuse for it. That appears to have since been edited out from the thread, but the issue is still closed.