On Wed, 2006-08-16 at 11:49 -0400, Eric Enright wrote:
> On 8/16/06, William Fretts-Saxton <[EMAIL PROTECTED]> wrote:
> > I'm having trouble finding information on any hooks into ZFS.  Is 
> > there information on a ZFS API so I can access ZFS information 
> > directly as opposed to having to constantly parse 'zpool' and 'zfs' 
> > command output?
> 
> libzfs: http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libzfs/common/

Careful -- this isn't an API -- it's part of the implementation of ZFS,
and as a result it is subject to incompatible change at any time without
advanced warning.

In terms of our Interface Taxonomy, this is considered "Project
Private".  

If you have specific requirements for a programmatic interface to ZFS,
let's hear them...  it's not uncommon for Private interfaces to get put
through some renovation and housecleaning and then promoted to a public
interface, but it's best for the conversation to happen first...

(And I can't speak for the plans/intentions of the core zfs team on
this..)

                                                - Bill






_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to