From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 12:46:26 2005 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 212A716A41F; Thu, 21 Jul 2005 12:46:26 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E5C43D46; Thu, 21 Jul 2005 12:46:24 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id 2B2468B1F0; Thu, 21 Jul 2005 14:46:22 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31522-09; Thu, 21 Jul 2005 14:46:17 +0200 (CEST) Received: from firewall.demig (p50839136.dip0.t-ipconnect.de [80.131.145.54]) by server.absolute-media.de (Postfix) with ESMTP id 102548BA97; Thu, 21 Jul 2005 14:46:17 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j6LChFYf028391; Thu, 21 Jul 2005 14:43:29 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "Sergey Matveychuk" , Date: Thu, 21 Jul 2005 14:43:29 +0200 Message-ID: <000701c58df1$cbabdd00$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 In-Reply-To: <42DF881A.2070802@FreeBSD.org> X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: Subject: RE: /etc/exports - a strange restriction X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 12:46:26 -0000 > I'd like to share some directories hierarchy under /usr file system, but > I don't want to share all /usr at all. > > On these lines in /etc/exports: > > /usr/tinderbox -ro -alldirs -maproot=0:0 localhost > > i get an error message: > > mountd[347]: -alldirs requested but /usr/tinderbox is not a filesystem > mountpoint > > Why so strict restriction? As far as I know, it is a restriction of the nfs specification. If you only want to export a single directory, you could e.g. use mount_null/mount_nullfs(8). Norbert