Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 10:46:20 -0800 (PST)
From:      Ken Bolingbroke <hacker@bolingbroke.com>
To:        C J Michaels <cjm2@earthling.net>
Cc:        gavinkenny@yahoo.co.uk, <questions@FreeBSD.ORG>
Subject:   Re: NFS exports file
Message-ID:  <20020122103806.C99955-100000@fremont.bolingbroke.com>
In-Reply-To: <2490.216.153.202.7.1011723493.squirrel@www1.27in.tv>

next in thread | previous in thread | raw e-mail | index | archive | help

I missed the original message, but this last answer isn't strictly
correct.  For instance, I export /usr/ports and /usr/obj, both of which
are subdirectories of the mount point /usr, and this works just fine,
although I have to put them on the same line in /etc/exports:

 /usr/ports /usr/obj myhosts

They do have to be on the same line, though, or I get the bad exports
error message.

Ken Bolingbroke
hacker@bolingbroke.com

On Tue, 22 Jan 2002, C J Michaels wrote:

> You can only export mount points.  Not subdirectory's of mount points.
>
> Despite the lack of df output here, I would assume you have a situation
> where /home is a symlink to /usr/home and /usr is the mount point.
>
> In this case you need to export /usr
>
> --Chris
>
> Gavin Kenny said:
> > Hi Guys,
> >
> > I'm trying my hand at setting up NFS. I have followed
> > the handbook and all the deamons seem to startup OK
> >
> > but when I edit my /etc/exports file and load it via:
> > kill -HUP `cat /var/run/mountd.pid`
> >
> > I get the following message:
> > "bad exports list line /home "
> >
> > I have one line in my exports file and have tried the
> > following combinations without success; (Note I don't
> > have DNS so I am using IP addresses)
> >
> > /home -alldirs 123.456.789.123
> > or
> > /home 123.456.789.123
> > or
> > /home -alldirs -network 123.456.789.123
> > or
> > /usr/home -network 123.456.789.123
> >
> > and all stations south.
> >
> > When I try to mount from the client I get "Permission
> > denied", which I am assuming is because the exports
> > list is not loading.
> >
> > so what am I doing wrong?
> >
> > cheers
> >
> > Gavin
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
>
> --
> Chris
>
> "I'll defend to the death your right to say that, but I never said I'd
> listen to it!"
>      -- Tom Galloway with apologies to Voltaire
>
>
>
> 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?20020122103806.C99955-100000>