Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 2015 12:49:54 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        fs@freebsd.org, Lev Serebryakov <lev@FreeBSD.org>
Subject:   Re: Multiple entries in ZFS "sharenfs" property?
Message-ID:  <55BDF5D2.3090306@digiware.nl>
In-Reply-To: <130767529.20150801150343@serebryakov.spb.ru>
References:  <130767529.20150801150343@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BDF5D2.3090306>