Hello list,

As the developer of software that exports data/shares like that of NFS and Samba. (HTTP/UPnP export, written in C) I am curious if the libzfs API is flexible enough for me to create my own file-system attributes, similar to that of "sharenfs" and obtain this information in my software.

Perhaps something in the lines of:

 zfs -o shareupnp=on zpool1/media

And I will modify my streamer software to do the necessary calls to obtain the file-systems set to export.

Or are there other suggestions to achieve similar results? I could mirror "sharenfs" but I was under the impression that the API is flexible. The ultimate goal is to move away from static paths listed in the config file.

Lund

--
Jorgen Lundman       | <lund...@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to