Multiple entries in ZFS "sharenfs" property?

Willem Jan Withagen wjw at digiware.nl
Sun Aug 2 10:50:08 UTC 2015


On 01/08/2015 14:03, Lev Serebryakov wrote:
> Hello FreeBSD,
> 
>   Is it possible to put multiple entries (for multiple networks) into
> "sharenfs" property for ZFS filesystem?
> 

Something like?
	 -alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.252.0

I think I just did it by putting the text between '' 's:

	' <volume>

Which then ends up in /etc/zfs/exports:
/home/wjw  -alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.252.0

--WjW



More information about the freebsd-fs mailing list