Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Michael Dexter
@dexter@bsd.network  ·  activity timestamp 3 weeks ago

My attempt at an #OpenZFS "libzfs" in /usr/include/openzfs PR for #FreeBSD:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289655

Your wisdom please!

289655 – Add /usr/include/openzfs to support in-base and external applications

  • Copy link
  • Flag this post
  • Block
Joshua M. Clulow
@jmc@m.unix.house replied  ·  activity timestamp 3 weeks ago

@dexter I stand by my comments in here: https://lobste.rs/s/56ys0f/we_should_improve_libzfs_somewhat#c_qanicz

libzfs is not something people should be building against at all

We should improve libzfs somewhat

10 comments
  • Copy link
  • Flag this comment
  • Block
Rob 💚
@robn@social.lol replied  ·  activity timestamp 3 weeks ago

@jmc @dexter I've had that comment in a tab for months, because I really want to reply to it properly. some I agree with, some I don't, some I'm still chewing on. someday I'll get there I swear

we do at least agree on "don't use libzfs". the trouble is that I don't really have anything better to offer people who want or need something beyond the cli tools. and that really the point of the post: survey the field, describe the current state of things, and ponder what we might do instead

  • Copy link
  • Flag this comment
  • Block
Michael Dexter
@dexter@bsd.network replied  ·  activity timestamp 3 weeks ago

@jmc CC @crest @robn

  • Copy link
  • Flag this comment
  • Block
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange replied  ·  activity timestamp 3 weeks ago

@dexter Last time I tried to use libzfs, the issue was not that the headers were missing (I could add the ones in the src tree without too much difficulty) it was that they were incompatible with base-system headers. They needed special Solaris definitions of things and the headers that provided them were incompatible with other base system headers. Actually including the libzfs headers broke includes of anything else. The builds of libzfs and zfs live in their own little Solaris-flavoured world, trying to use libzfs with anything else was impossible.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login