Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

FreeBSD Support? #63

Open
fabianfreyer opened this issue Jul 5, 2018 · 2 comments
Open

FreeBSD Support? #63

fabianfreyer opened this issue Jul 5, 2018 · 2 comments

Comments

@fabianfreyer
Copy link

fabianfreyer commented Jul 5, 2018

It would be great if rust-libzfs would also work on FreeBSD!

@jgrund
Copy link
Member

jgrund commented Jul 10, 2018

Hi @fabianfreyer,

We are currently using bindgen to create bindings using ZFS on Linux with CentOS. However I would be open to having different bindings generated / consumed provided we can keep the existing rust wrapper layer compatible.

I won't have time to work on something like this in the near future, but PRs / further discussion is certainly welcome

@dsheets
Copy link

dsheets commented Jul 14, 2018

I have the necessary modifications to the build system for FreeBSD 11.2 support. I am currently trying to build the bindings against ZoL master on a Debian VM to ensure that I have not broken the Linux support. I'm going to try to make a FreeBSD support PR this weekend.

dsheets added a commit to dsheets/rust-libzfs that referenced this issue Jul 15, 2018
ZoL `master` (2e5dc449c1a65e0b0bf730fd69c9b5804bd57ee8) and FreeBSD 11.2 have
compatible libzfs APIs but FreeBSD lacks pkg-config and has different ZFS source
include directories. Fixes whamcloud#63.

Signed-off-by: David Sheets <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants