On Mon, 4 Feb 2008, Darren J Moffat wrote:

> At this time the libzfs C interfaces are not stable public documented
> interfaces so there are no Perl bindings for them either.
>
> The commands are the only stable and documented interfaces to ZFS at this
> time.

Perhaps not stable, but it's hard to consider them not publicly documented
when it's open source ;):

        
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/zfs/zfs_main.c


I'm in a similar boat; our central identity management infrastructure is
written in perl, I really don't want to have to add a bunch of system calls
to incorporate zfs if we end up going that way. While perhaps chasing a
moving target, I don't think making a simple PerlXS interface to some basic
functionality (creating/deleting filesystems/snapshots for example) would
be that difficult... In the worst case it would just need to be updated if
something changed.


-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  [EMAIL PROTECTED]
California State Polytechnic University  |  Pomona CA 91768
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to