[zfs-discuss] ZFS APIs?

Darren J Moffat
2008-09-15T12:37:37Z

Amanda Waite wrote:
> Are there any hooks or APIs available or in the pipeline for creating,
> destroying and otherwise managing ZFS pools and filesystems? We would
> very much like to be able to create and tear-down zfs filesystems and to
> manage snapshots and clones programmatically. We can do this by calling
> the zfs admin commands via Runtime.exec() in Java, but it''s
something
> that''s just crying out for a stable/documented API.

There are in libzfs BUT they are private at this time.  There is even a
JNI wrapper library libzfs_jni that is used by the Lockhart GUI.

Who is the "we" in this case ? What project is this for ?

--
Darren J Moffat