On 08/ 4/10 04:21 PM, Peter Taps wrote:
Folks,
In my application, I need to get some information for zfs and display to user.
Is there a way to identify if a given zfs filesystem has been shared as CIFS?
Ideally, zfs library API would be better. However, a command line tool would do
as well. I would just need to parse the output.
zfs get sharesmb <filesystem>.
Or from libzfs, use zfs_prop_get with ZFS_PROP_SHARESMB as the property.
--
Ian.
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code