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?

Thanks.

Jozef Hamar


Darren J Moffat wrote:
> Jason King wrote:
>> On Wed, Sep 23, 2009 at 9:31 AM, Jozef Hamar <hamar at jozef.name> wrote:
>>> Hello folks,
>>>
>>> I would like to create my own set of tools for manipulating with 
>>> ZFS, and I
>>> need to use the libzfs library.
>>>
>>> I got stuck with "cannot find include file: libuutil.h" message. I 
>>> am new to
>>> Solaris, and not exactly a C guru.
>>>
>>> Can you please push me into the righ direction?
>>>
>>> Thank you.
>>
>> Unfortunately, that library is still classified as private (meaning it
>> wasn't intended for general use).  There was talk a few years ago of
>> cleaning it up a bit and making it available for general use, but it
>> appears it was never done.
>
> But so is libzfs !
>

Reply via email to