From owner-freebsd-questions@FreeBSD.ORG Tue Aug 21 07:45:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8CF16A418 for ; Tue, 21 Aug 2007 07:45:31 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id CD20D13C48A for ; Tue, 21 Aug 2007 07:45:30 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: by nf-out-0910.google.com with SMTP id b2so873507nfb for ; Tue, 21 Aug 2007 00:45:29 -0700 (PDT) Received: by 10.78.170.6 with SMTP id s6mr2577127hue.1187682329027; Tue, 21 Aug 2007 00:45:29 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.132.156]) by mx.google.com with ESMTPS id 37sm2926874hub.2007.08.21.00.45.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2007 00:45:27 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id EB8BE5080A for ; Tue, 21 Aug 2007 11:43:40 +0400 (GST) Date: Tue, 21 Aug 2007 11:43:40 +0400 (GST) From: Rakhesh Sasidharan X-X-Sender: rakhesh@obelix.home.rakhesh.com To: freebsd-questions@freebsd.org In-Reply-To: <20070821113011.W7559@obelix.home.rakhesh.com> Message-ID: <20070821114033.V8623@obelix.home.rakhesh.com> References: <20070821113011.W7559@obelix.home.rakhesh.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: NFS export subdirs on different file systems? 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: Tue, 21 Aug 2007 07:45:31 -0000 > I have a directory /net/store. This directory is exported to all machines on > my network. > > I have a sub-directory /net/store/photos. That too is exported to all > machines on my network. > > What I want is that when I mount /net/store from another machine, the > contents of /net/store/photos too be visible. Is there any way I can do that? > > From the manpage and the handbook and Google etc I get the idea that it might > not be possible. Still, asking just in case there are any round-about ways > ... I would assume a scenario like this is common. > > [I need /net/store/photos to be on a separate partition coz its encrypted and > stuff. And I'd rather have it appear as part of the /net/store namespace ...] Forgot to add: the two directories are imported "dynamically" on the client side. So I can't just make fstab entries on the client side to mount both points. I use AMD to mount /net/store when needed. And I can't for the life of me figure how to make it mount /net/store/photos too when needed -- I dont think that's possible(?) ...