Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 11:52:57 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Graham Lillico <graham_lillico@hotmail.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: NFS
Message-ID:  <20010913114931.Q4778-100000@shumai.marcuscom.com>
In-Reply-To: <F180mgTSNoI5TiW93zu0000f488@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You can only export filesystems.  Therefore, these lines should be
consolidated:

/usr/src /usr/obj /usr/ports -maproot=0 -network 192.168.1

The reason you specify the individual directories on the same line is that
you want to allow /usr/src, /usr/obj, and /usr/ports as mount
points.

Joe

On Thu, 13 Sep 2001, Graham Lillico wrote:

> Hi,
>
> I'm trying to share my /usr/src, /usr/obj and /usr/ports directories via
> NFS.
>
> My /etc/exports file looks like this
>
> /usr/src -maproot=0 -network 192.168.1
> /usr/obj -maproot=0 -network 192.168.1
> /usr/ports -maproot=0 -network 192.168.1
>
> However when I restart NFS I get the following messages
>
> mountd[15755]: can't change attributes for /usr/obj
> mountd[15755]: bad exports list line /usr/obj -maproot
> mountd[15755]: can't change attributes for /usr/ports
> mountd[15755]: bad exports list line /usr/ports -maproot
>
> and I cannot then nfs mount any directory apart from /usr/src on a remote
> host.
>
> Is this because they are all part of the same filesystem, (i.e. should they
> be on there own filesystem)?  Or is it something else?
>
> Regards
>
> Graham Lillico
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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