[Bug 193748] Userland support for libzfs and libzfs_core feature request

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Sep 2021 04:39:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193748

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |asomers@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #3 from Alan Somers <asomers@FreeBSD.org> ---
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.

FreeBSD 13+ include libzfs_core.h in /usr/include, and libzfs_core is finally
mature enough that you can write useful applications with it.  So I think this
bug is finally resolved.

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