The CLI is the supported, stable interface for ZFS administrative operations.
libzfs_core is on its way to being a stable API, but is incomplete. Snapshot creation and destruction are there, though. See libzfs_core.c. There's some more info about its future direction here: http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/ libzfs will probably never be a stable API, but it is complete, and plenty of people have built tools around it. But you must be very wary of its sharp edges. --matt On Wed, Oct 8, 2014 at 12:40 AM, Ivailo A. Tanusheff <[email protected] > wrote: > Dear all, > > > > I am looking for an API and documentation about programing some actions on > C/C++ for ZFS management. > > I have found an library on FreeBSD - > /usr/src/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h but this lacks > any documentation. > > I do not want to make a huge development and my skills are not great, so I > need some useful API and documentation. > > Is there such thing available around? > > What I need is to include some snapshot management techniques in my > daemons :) > > > > Regards, > > > > Ivailo Tanusheff > > > > Disclaimer: This communication is confidential. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution or taking any action in reliance on the contents of this > information is strictly prohibited and may be unlawful. If you have > received this communication by mistake, please notify us immediately by > responding to this email and then delete it from your system. Eurobank > Bulgaria AD is not responsible for, nor endorses, any opinion, > recommendation, conclusion, solicitation, offer or agreement or any > information contained in this communication. Eurobank Bulgaria AD cannot > accept any responsibility for the accuracy or completeness of this message > as it has been transmitted over a public network. If you suspect that the > message may have been intercepted or amended, please call the sender. > > _______________________________________________ > developer mailing list > [email protected] > http://lists.open-zfs.org/mailman/listinfo/developer > >
_______________________________________________ developer mailing list [email protected] http://lists.open-zfs.org/mailman/listinfo/developer
