Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 790 Bytes

File metadata and controls

35 lines (24 loc) · 790 Bytes

ZFSWrapper

This is a C++ wrapper library around libzfs, libzfs_core, libzpool and libnvpair, all part of the userland ZFS Libraries. It is primarily intended to be used by ZetaWatch.

For Developers

Dependencies

On MacOS, OpenZFS 2.0.1 is tested. The following OpenZFS needs to be installed:

On Ubuntu 21.04, OpenZFS 2.0.2 is tested. The following apt packages need to be installed:

  • libzfslinux-dev
  • libzfs4linux

Building

Building works as usual with CMake. On MacOS, pass -DZFSW_HAS_ZPOOL_STATUS_COMPATIBILITY_ERR to CMake.

mkdir build
pushd build
cmake ..
make -j12