You need a working ZFS setup with a few patches, in the following order.
- stable api openzfs/zfs#3907
- patch on top of stable api https://github.com/ClusterHQ/zfs/pull/13.patch
Generally you need root privileges to use anything zfs related.
We have implemented most of the features we need. If any features are wanted please open an issue or (better yet) pull request. The beta TODO list is more or less:
- stabilize
zfs_receive
- avoid
zfs_cmd_t
in its current form - implement usable public api akin to go-zfs
- find a better name
See the contributing guidelines
All the nv list handling is fully implemented in go.
The only use of cgo is a wrapper that actually calls ioctl
with the zfs_cmd_t
, this may be changed in the future.