From owner-freebsd-questions Tue Jan 22 10:47: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 734BE37B402 for ; Tue, 22 Jan 2002 10:46:54 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fremont.bolingbroke.com (8.12.1/8.12.1) with ESMTP id g0MIkKs6011073; Tue, 22 Jan 2002 10:46:20 -0800 (PST) Date: Tue, 22 Jan 2002 10:46:20 -0800 (PST) From: Ken Bolingbroke X-X-Sender: ken@fremont.bolingbroke.com To: C J Michaels Cc: gavinkenny@yahoo.co.uk, Subject: Re: NFS exports file In-Reply-To: <2490.216.153.202.7.1011723493.squirrel@www1.27in.tv> Message-ID: <20020122103806.C99955-100000@fremont.bolingbroke.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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