From owner-freebsd-fs@freebsd.org Sun Aug 2 10:50:08 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 540269B0D71 for ; Sun, 2 Aug 2015 10:50:08 +0000 (UTC) (envelope-from wjw@digiware.nl) 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 3ABB3958 for ; Sun, 2 Aug 2015 10:50:08 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.ysv.freebsd.org (Postfix) id 375449B0D70; Sun, 2 Aug 2015 10:50:08 +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 36E4A9B0D6F for ; Sun, 2 Aug 2015 10:50:08 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1079955; Sun, 2 Aug 2015 10:50:07 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id BFC1115340A; Sun, 2 Aug 2015 12:50:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GdmWGJot4vtt; Sun, 2 Aug 2015 12:49:54 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:d42b:9fbf:b53b:a3c0] (unknown [IPv6:2001:4cb8:3:1:d42b:9fbf:b53b:a3c0]) by smtp.digiware.nl (Postfix) with ESMTPA id B38D4153431; Sun, 2 Aug 2015 12:49:54 +0200 (CEST) Subject: Re: Multiple entries in ZFS "sharenfs" property? To: fs@freebsd.org, Lev Serebryakov References: <130767529.20150801150343@serebryakov.spb.ru> From: Willem Jan Withagen Message-ID: <55BDF5D2.3090306@digiware.nl> Date: Sun, 2 Aug 2015 12:49:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <130767529.20150801150343@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1252 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 10:50:08 -0000 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: ' Which then ends up in /etc/zfs/exports: /home/wjw -alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.252.0 --WjW