ZFS supports a creation-time "casesensitivity" property on filesystems, whose "insensitive" and possibly "mixed" values are of benefit to us.
This patch adds initial support for the "insensitive" case. There are 10 directories of header files needed in the include path for libzfs, which don't always ship with FreeBSD releases, so useful bits have been copied here instead, types abstracted (eg. void* instead of struct pointers), and libzfs loaded through run-time dynamic linking.
It's only been tested on FreeBSD so far. Kernel and Wine bitness must match, as there is no 32->64 ZFS ioctl compatibility at present; such cases are always treated as case-sensitive.
The licensing situation is unclear. The ZFS headers and libzfs are under the CDDL licence.
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- dlls/ntdll/unix/file.c | 226 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 226 insertions(+)