From owner-freebsd-hackers Wed Aug 16 9:58:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id BA80437C5A2 for ; Wed, 16 Aug 2000 09:58:09 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id KAA89246; Wed, 16 Aug 2000 10:58:02 -0600 (MDT) (envelope-from ken) Date: Wed, 16 Aug 2000 10:58:02 -0600 From: "Kenneth D. Merry" To: Peter Pentchev Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: several NFS mounts within a filesystem Message-ID: <20000816105802.A89225@panzer.kdm.org> References: <20000816194752.A2983@ringwraith.office1.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000816194752.A2983@ringwraith.office1.bg>; from roam@orbitel.bg on Wed, Aug 16, 2000 at 07:47:52PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 16, 2000 at 19:47:52 +0300, Peter Pentchev wrote: > /usr/n/ringrowl/root -maproot=root -network 192.168.1.0 -mask 255.255.255.0 > /usr/n/ringrowl/usr -maproot=root -network 192.168.1.0 -mask 255.255.255.0 > > And the result of ``mountd -d -l'' is: > > Aug 16 19:36:35 ringwraith mountd[2956]: can't change attributes for /usr/n/ringrowl/usr > Aug 16 19:36:35 ringwraith mountd[2956]: bad exports list line /usr/n/ringrowl/usr -maproot > > After this, showmount -e shows an exported /usr/n/ringrowl/root, and plain > old mount shows something new: /usr now has a NFS-mounted flag. > > Am I right in thinking that the kernel won't let me export more than one > subdir of the same filesystem? If so, how do I get around this? > I really really really really do not want to repartition, and vnconfig is > just barely an option.. though if there is no other way, I'll have to > do it. I think you want the '-alldirs' option. e.g.: /usr -alldirs -maproot=root -network 192.168.1.0 -mask 255.255.255.0 Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message