Date: Wed, 8 Oct 2014 18:10:52 -0700 From: Matthew Ahrens <mahrens@delphix.com> To: "Ivailo A. Tanusheff" <ITanusheff@postbank.bg> Cc: "developer@open-zfs.org" <developer@open-zfs.org>, freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: [OpenZFS Developer] ZFS API Message-ID: <CAJjvXiHV9gX9Tfu5uBugMxLwtd-JUZwN1JYA4Vzo3oVJABooZw@mail.gmail.com> In-Reply-To: <1422065A4E115F409E22C1EC9EDAFBA4604F7E@sofdc01exc02.postbank.bg> References: <1422065A4E115F409E22C1EC9EDAFBA4604F7E@sofdc01exc02.postbank.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ITanusheff@postbank.bg > 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 > developer@open-zfs.org > http://lists.open-zfs.org/mailman/listinfo/developer > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJjvXiHV9gX9Tfu5uBugMxLwtd-JUZwN1JYA4Vzo3oVJABooZw>