Filesystems and case-insensitivity
Filesystems and case-insensitivity
Posted Dec 6, 2018 12:34 UTC (Thu) by rleigh (guest, #14622)In reply to: Filesystems and case-insensitivity by skissane
Parent article: Filesystems and case-insensitivity
Example for ZFS:
% zfs get all rpool/ROOT/default
NAME PROPERTY VALUE SOURCE
rpool/ROOT/default type filesystem -
rpool/ROOT/default creation Sun Jun 12 10:46 2016 -
…
rpool/ROOT/default utf8only on -
rpool/ROOT/default normalization formD -
rpool/ROOT/default casesensitivity sensitive -
…
Case sensitivity is selectable. You can force it to only store valid UTF-8, and you can choose whether the UTF-8 is normalised or not. Or you can allow it to store anything. This gives you full backward compatibility with historical UNIX behaviour should you want it, or you can restrict it case sensitive normalised UTF-8. Having this selectable on a per-filesystem basis gives you a great deal of flexibility, and it defaults to something sensible (the above are the defaults).
