From owner-freebsd-fs@FreeBSD.ORG Fri Aug 31 11:59:25 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D7DE1065670; Fri, 31 Aug 2012 11:59:25 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id CA2038FC16; Fri, 31 Aug 2012 11:59:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAMumQFCDaFvO/2dsb2JhbABFhgS2GYIgAQEFI1YbDgoCAg0ZAlkGiCCpa5MNgSGJaIVvgRIDlViJM4Zngn8 X-IronPort-AV: E=Sophos;i="4.80,347,1344225600"; d="scan'208";a="179728549" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 31 Aug 2012 07:59:23 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id A2773B402C; Fri, 31 Aug 2012 07:59:23 -0400 (EDT) Date: Fri, 31 Aug 2012 07:59:23 -0400 (EDT) From: Rick Macklem To: Andrey Simonenko Message-ID: <42823120.1362161.1346414363645.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <20120831110151.GA21041@pm513-1.comsys.ntu-kpi.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@FreeBSD.ORG, rmacklem@FreeBSD.org Subject: Re: Why vfs_stdcheckexp is a VFS operation? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 11:59:25 -0000 Andrey Simonenko wrote: > On Wed, Aug 29, 2012 at 08:59:11AM -0400, Rick Macklem wrote: > > > > It seems that changing the semantics of /etc/exports is very > > difficult > > (it's a stumbling block w.r.t. adoption of nfse, as an example) at > > this > > time so, although confusing, exporting a directory that is not a > > mount > > point results in the entire mount point exported for NFS RPCs, but a > > restriction of only mounting that directory is enforced for the > > Mount > > protocol (only done at mount time and only for NFSv3). > > > > Which information is the statement about semantics of exports(5) and > nfse is based on? I was just going on what you have posted. You always seem to say that certain buggy cases for how mountd interprets /etc/exports is handled differently for nfse, but I may have misunderstood. rick