Re: If your hackintosh is configured properly..
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
SPL, which is the magic glue layer to make Solaris-like calls work on Darwin, comes from 10a286 and MacZFS. The ZFS sources are all from ZOL, and nothing from 10a286 nor MacZFS. Because it changed so much there was more work to try to patch it forward, then it would be to start again. The ZFS sources are very close to being identical to Open ZFS sources for IllumOS. The differences are all jammed into SPL to provide a bridge to Darwin.
Please note that what Apple did in 10a286 is very hacky. All hacks jammed into one header file and one C file. Not maintainable nor pretty. But I suspect it was a proof-of-concept, and would eventually be done nicely into the kernel, if Apple and Sun had been able to settle their differences.
Next problem is, how disks and files systems worked on 10.6 and before, has changed quite a bit (internally) since. Back then, it was sufficient to have a BSD device and mount it, and OSX considered it a disk. Now, it has to be in iokit, and get a /dev/diskX entry, or you can not see it and install to it. This is one of the reasons why we wont bother with 10.6 and earlier, as its quite different, and not worth the effort (right now) since those versions already have 2 options.
ashift is a pool setting, it is not copied with zfs send|recv.
Please note that what Apple did in 10a286 is very hacky. All hacks jammed into one header file and one C file. Not maintainable nor pretty. But I suspect it was a proof-of-concept, and would eventually be done nicely into the kernel, if Apple and Sun had been able to settle their differences.
Next problem is, how disks and files systems worked on 10.6 and before, has changed quite a bit (internally) since. Back then, it was sufficient to have a BSD device and mount it, and OSX considered it a disk. Now, it has to be in iokit, and get a /dev/diskX entry, or you can not see it and install to it. This is one of the reasons why we wont bother with 10.6 and earlier, as its quite different, and not worth the effort (right now) since those versions already have 2 options.
ashift is a pool setting, it is not copied with zfs send|recv.