On 05/18/11 10:32, Darren J Moffat wrote:
> So no you aren't supposed to be able to write 3rd party tools and link
> them against the libzfs API.

That's quite a bit stronger than I'd put it and also too discouraging.

libzfs is a private interface.  Private does not mean "secret".

Private interfaces can change incompatibly at any time -- even in a
patch.  They're not guaranteed to keep working when the underlying
shared library changes interface or behavior -- a function you depend on
may be deleted, or grow another argument, or just change behavior in a
way you weren't expecting.

If you find that the path of least resistance is to use a private
interface, it's often a sign that there's a missing Public interface in
the system.

                                                - Bill





_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code

Reply via email to