On Tue, Aug 26, 2014 at 5:57 AM, Sean Sill <[email protected]> wrote: > > 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? >
lzc_create() creates a filesystem (or zvol), not a zpool. Currently there are no zpool-level routines in libzfs_core, unfortunately. --matt
_______________________________________________ developer mailing list [email protected] http://lists.open-zfs.org/mailman/listinfo/developer
