From owner-freebsd-fs@freebsd.org Sun Aug 2 18:08:27 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64B7C9B1465 for ; Sun, 2 Aug 2015 18:08:27 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF5C1AAF for ; Sun, 2 Aug 2015 18:08:27 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4D30A9B1464; Sun, 2 Aug 2015 18:08:27 +0000 (UTC) Delivered-To: fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BCE99B1463 for ; Sun, 2 Aug 2015 18:08:27 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 095A91AAE for ; Sun, 2 Aug 2015 18:08:27 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:2924:7e01:7d9c:bbfe]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 737E9213E; Sun, 2 Aug 2015 21:08:17 +0300 (MSK) Date: Sun, 2 Aug 2015 21:08:08 +0300 From: Lev Serebryakov Reply-To: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1941826477.20150802210808@serebryakov.spb.ru> To: Willem Jan Withagen CC: fs@freebsd.org Subject: Re: Multiple entries in ZFS "sharenfs" property? In-Reply-To: <55BDF5D2.3090306@digiware.nl> References: <130767529.20150801150343@serebryakov.spb.ru> <55BDF5D2.3090306@digiware.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 18:08:27 -0000 Hello Willem, Sunday, August 2, 2015, 1:49:54 PM, you wrote: >> 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: > ' > Which then ends up in /etc/zfs/exports: > /home/wjw -alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.252.0 I need 4 such lines per FS (with different -network / -mask arguments). One line works. Four lines don't. -- Best regards, Lev mailto:lev@FreeBSD.org