I'm building a python interface library for zfs with cython on FreeBSD
currently. I have a most of a cython wrapper for nvlist, but the problem
I'm having is I don't know what the kernel is actually expecting. It
becomes immensely confusing when looking that the differences between
libzfs and libzfs core.

1) Right now I want to focus on creating a zpool, and listing zpools. I'm
trying to document what I've found of zpool create and how it creates the
nvlist.I think its astoundingly close to json so I'm documenting it like
that, In doing this I have a decent idea of what zpool create is
constructing but this leads me to 2)

2) libzfs core doesn't allow you to send a nvlist describing your zpool to
the kernel. lzc_create only allows you to send properties? What was the
intention when it comes to creating zpools?

Thanks! I really appreciate you time.
Sean Sill
Electronic Systems Consultant/Contractor
Electrical and Computer Engineering Alumni from
Missouri University of Science and Technology(Missouri S&T)
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to