Re: [zfs-discuss] libzfs.h versioning

2009-09-23 Thread Enrico Maria Crisostomo
Richard, I compared the libzfs_jni source code and they're pretty different from what we're doing. libzfs_jni is essentially a jni wrapper to (yet?) another set of zfs-related programs written in C. zfs for Java, on the other hand, is a Java wrapper to the functionality of (and only of) libzfs. I

Re: [zfs-discuss] libzfs.h versioning

2009-09-10 Thread Enrico Maria Crisostomo
On Fri, Sep 11, 2009 at 12:26 AM, Richard Elling wrote: > On Sep 10, 2009, at 1:03 PM, Peter Tribble wrote: >> >> On Thu, Sep 10, 2009 at 8:52 PM, Richard Elling >> wrote: >>> >>> Enrico, >>> Could you compare and contrast your effort with the existing libzfs_jni? >>> >>> http://src.opensolaris.o

Re: [zfs-discuss] libzfs.h versioning

2009-09-10 Thread Richard Elling
On Sep 10, 2009, at 1:03 PM, Peter Tribble wrote: On Thu, Sep 10, 2009 at 8:52 PM, Richard Elling wrote: Enrico, Could you compare and contrast your effort with the existing libzfs_jni? http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ Where's the source

Re: [zfs-discuss] libzfs.h versioning

2009-09-10 Thread Enrico Maria Crisostomo
Thanks for pointing it out, Richard. I missed libzfs_jni. I'll have a look at it and see where we're overlapping. As far as I can see at a quick glance is that libzfs_jni is including functionality we'd like to build upon the libzfs wrapper (that's why I was studying zfs and zpool commands). Maybe

Re: [zfs-discuss] libzfs.h versioning

2009-09-10 Thread Peter Tribble
On Thu, Sep 10, 2009 at 8:52 PM, Richard Elling wrote: > Enrico, > Could you compare and contrast your effort with the existing libzfs_jni? > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ Where's the source for the java code that uses that library? -- -Pet

Re: [zfs-discuss] libzfs.h versioning

2009-09-10 Thread Richard Elling
Enrico, Could you compare and contrast your effort with the existing libzfs_jni? http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ Perhaps it would be worthwhile to try and un-privatize libzfs_jni? -- richard On Sep 10, 2009, at 12:20 PM, Enrico Maria Crisosto

[zfs-discuss] libzfs.h versioning

2009-09-10 Thread Enrico Maria Crisostomo
Hi. I'm willing to maintain a project hosted on java.net (https://zfs.dev.java.net/) that aims to provide a Java wrapper to libzfs. I've already wrapped, although not committed yet, the last libzfs.h I found on OpenSolaris.org (v. 10342:108f0058f837) and the first problem I want to address is libr