8 ms·
The "bag of bytes" POSIX(?) standard(?) can be overridden at the filesystem level: ZFS zpool create -O utf8only=on -O normalization=formD -O casesensitivit
by watersb 3y ago
The "bag of bytes" POSIX(?) standard(?) can be overridden at the filesystem level:
ZFS
zpool create -O utf8only=on -O normalization=formD -O casesensitivity=insensitive mypool <pool geometry> <devices>
My primary use case for ZFS is a home lab file server to my Mac clients; you might want to keep Unicode normalization and case sensitivity at the default settings.
My suggestion here is just one [futile] step at reducing the madness; Postel's Law dictates that we should expect pathological inputs to shell scripts anyway.
("emit clean outputs, expect crazy inputs")
https://en.m.wikipedia.org/wiki/Robustness_principle https://en.m.wikipedia.org/wiki/Robustness_principle