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

Alan Somers <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|New                         |Closed
                 CC|                            |[email protected]

--- Comment #1 from Alan Somers <[email protected]> ---
The thing about libzfs is that it is not a stable interface.  It was never
intended to be one, and never has been.  It changes frequently, and in
non-backwards compatible ways.  That's why its use is highly discouraged by
programs outside of the base system.  The few that do use it
(sysutils/py-iocage for example) typically break during an OS upgrade.

libzfs_core, OTOH, _is_ a stable interface.  It has a simple API, very similar
to what the zfs command line tools provide.  And it's guaranteed to preserve
backwards compatibility.  I suggest you convert your program to use libzfs_core
instead of libzfs.  If you don't, you'll continue to need the kernel headers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to