[...]
> If I'm reading this correctly, and it's very probable
> I'm not, the
> zfs_do_send function *is* there, but code.cxx is
> missing a #include for
> strings.h ... or whatever c++ uses for its
> equivalent.
>
On snv_133 and pyzfs (svn 15) I get
/usr/local/pyzfs/trunk/zfs.cxx:117: error: c
On Tue, 22 Dec 2009, Ben Wart wrote:
> Darren,
>
> I was able to compile pyzfs using the information in your post above
> with Python 2.6 on NexentaCore. However the pyzfs that I found for
> download and available on Google Code doesn't have a reference to the
> zfs_do_send method that you men
Darren,
I was able to compile pyzfs using the information in your post above with
Python 2.6 on NexentaCore. However the pyzfs that I found for download and
available on Google Code doesn't have a reference to the zfs_do_send method
that you mention.
When I added that code I recieved the fo
Hi Daniel,
I had time-slider in mind when I thought about the python bindings. I am
also aware of time-slider forking a subprocess to run zfs commands, to
gather information, which is precisely my motivation :)
I will first look into the effort already gone into this as pointed in
this thread.
Hi Krishnan,
On Tue, 2009-12-08 at 14:26 +0530, krishnan parthasarathi - Sun
Microsystems - Bangalore India wrote:
> I had time-slider in mind when I thought about the python bindings. I am
> also aware of time-slider forking a subprocess to run zfs commands, to
> gather information, which is pr
I am planning to write the python bindings for libzfs. On browsing
archives of
zfs-* mailing lists, I have come to understand that some of the CLI
processing
of zfs commands use python scripts. I would like to see the complete set of
features available via libzfs to be exposed to the python modul
before you re-invent the wheel, check out:
http://will.incorrige.us/pyzfs/
note - on 128, you need to edit zfs.h and zpool.h and comment out:
uint64_t zfs_prop_random_value(zfs_prop_t, uint64_t seed);
uint64_t zpool_prop_random_value(zpool_prop_t, uint64_t seed);
Also, you need to rework the zf
I don't grok python at all, and digging through the time-slider code has proven
it :) It invokes command lines and pretends to present python objects, forking
a lot and grabbing lots of repeated output for just one item.
If you can write new code that uses libzfs in the backend, and presents th