zfs-discuss@opensolaris.org
[Top] [All Lists]

[zfs-discuss] libzfs API: sharenfs, sharesmb, shareiscsi, $custom ?

Subject: [zfs-discuss] libzfs API: sharenfs, sharesmb, shareiscsi, $custom ?
From: Jorgen Lundman
Date: Mon, 17 Aug 2009 09:45:05 +0900

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       | <lundman@xxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

<Prev in Thread] Current Thread [Next in Thread>