Thank you. Jozef Hamar
Darren J Moffat wrote: > Jozef Hamar wrote: >> Ok, so what are the options (or "recommendations") for someone who >> wants to create a new ZFS filesystem from inside his code (except >> calling exec on "zfs create"). Do I need to get copies of those >> source code files (assuming libzfs and libuutil are not the only ones >> which are private) or is there some other option to create zfs from >> inside a c code? > > Officially there isn't any unless your code is part of the ON > consolidation of OpenSolaris and/or has an ARC[1] contract for use of > the interfaces. That is because these are considered private > interfaces. Note that private here has nothing to do with wither or > not they are open source or not it doesn't mean hidden. > > Unofficially grab the header files from the ON consolidation of > OpenSolaris and build way. However be aware that the interfaces in > those libraries can and will change without you being warned about it. > > > [1] http://opensolaris.org/os/community/arc/ >