Re: ZFS user library?

2009-06-22 Thread Borja Marcos


On Jun 18, 2009, at 11:35 PM, David Magda wrote:

Is there something specific you're looking to do? The file system  
layer of ZFS (the ZPL) is in flux, but there may be other  
components (e.g., DMU) that may be more stable (the Lustre folks are  
coding against it in user land). See pages 7 and 8 for the three  
main layers:


http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf



I see... Not rocket science actually. Just the standard functionality  
of zfs(8) without resorting to ugly execve and text parsing, something  
more reliable to list snapshots, etc.


Maybe it's a matter of waiting...


Borja.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ZFS user library?

2009-06-22 Thread David Magda

On Jun 22, 2009, at 04:00, Borja Marcos wrote:

I see... Not rocket science actually. Just the standard  
functionality of zfs(8) without resorting to ugly execve and text  
parsing, something more reliable to list snapshots, etc.


Maybe it's a matter of waiting...


At some point it probably will be stabilized, but it hasn't happened  
yet.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


ZFS user library?

2009-06-18 Thread Borja Marcos


Hello,

I was wondering if there are plans to document and keep the ZFS user  
library as a reasonably stable API.


I have been writing an automatic replication program, and it's ugly  
and clumsy to do it calling a user program. I would rather prefer to  
use an API, that would make it much easier to retrieve error messages,  
etc.






Borja.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ZFS user library?

2009-06-18 Thread Kip Macy
 I was wondering if there are plans to document and keep the ZFS user library
 as a reasonably stable API.


You really need to ask that on the ZFS lists. Usually Solaris man
pages indicate that an API is not stable (assuming) man pages exist.
With a few minor exceptions, ZFS in FreeBSD just tracks ZFS in
OpenSolaris.


Cheers,
Kip
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ZFS user library?

2009-06-18 Thread David Magda

On Jun 18, 2009, at 13:21, Kip Macy wrote:

I was wondering if there are plans to document and keep the ZFS  
user library

as a reasonably stable API.


You really need to ask that on the ZFS lists. Usually Solaris man
pages indicate that an API is not stable (assuming) man pages exist.
With a few minor exceptions, ZFS in FreeBSD just tracks ZFS in
OpenSolaris.


As mentioned above, there is a libzfs but the Sun people are still  
changing things a lot so they can't guarantee compatibility. One  
example of these changes is the crypto work being done in OpenSolaris:


http://www.opensolaris.org/os/project/zfs-crypto/phase1/libzfs_api/

Is there something specific you're looking to do? The file system  
layer of ZFS (the ZPL) is in flux, but there may be other components  
(e.g., DMU) that may be more stable (the Lustre folks are coding  
against it in user land). See pages 7 and 8 for the three main layers:


http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org