From owner-freebsd-fs@FreeBSD.ORG Thu Sep 6 13:40:18 2012 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD8F910656FB for ; Thu, 6 Sep 2012 13:40:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B66338FC1A for ; Thu, 6 Sep 2012 13:40:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q86DeIot016807 for ; Thu, 6 Sep 2012 13:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q86DeIEU016793; Thu, 6 Sep 2012 13:40:18 GMT (envelope-from gnats) Date: Thu, 6 Sep 2012 13:40:18 GMT Message-Id: <201209061340.q86DeIEU016793@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Martin Matuska Cc: Subject: Re: kern/147881: [zfs] [patch] ZFS " sharenfs" doesn' t allow different "exports" options for different hosts X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Matuska List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 13:40:18 -0000 The following reply was made to PR kern/147881; it has been noted by GNATS. From: Martin Matuska To: bug-followup@FreeBSD.org, Richard.Conto@gmail.com Cc: Subject: Re: kern/147881: [zfs] [patch] ZFS "sharenfs" doesn't allow different "exports" options for different hosts Date: Thu, 06 Sep 2012 15:36:13 +0200 The purpose of the sharenfs property is not to completely replace /etc/exports. What we have is just a tricky workaround that populates /etc/zfs/exports. T he commands to NFS-share filesystems on illumos are different and our options are mostly incompatible with illumos. So you e.g. sharenfs="-maproot=root" is invalid if imported on a Openindiana system. Have you considered using just /etc/exports for more-complex configurations? -- Martin Matuska FreeBSD committer http://blog.vx.sk