Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 10:58:02 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: several NFS mounts within a filesystem
Message-ID:  <20000816105802.A89225@panzer.kdm.org>
In-Reply-To: <20000816194752.A2983@ringwraith.office1.bg>; from roam@orbitel.bg on Wed, Aug 16, 2000 at 07:47:52PM %2B0300
References:  <20000816194752.A2983@ringwraith.office1.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000816105802.A89225>