Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 17:53:13 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        Jeremy Faulkner <gldisater@gldis.ca>, Chad Hanamaikai <C8ha6d@pacbell.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: NFS
Message-ID:  <3.0.5.32.20020722175313.011cd350@mail.sage-one.net>
In-Reply-To: <20020722183751.A38064@constans.gldis.ca>
References:  <013301c231c1$1e11b000$0301a8c0@chad.ath.cx> <013301c231c1$1e11b000$0301a8c0@chad.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
At 06:37 PM 7.22.2002 -0400, Jeremy Faulkner wrote:
>On Mon, Jul 22, 2002 at 01:48:21PM -0700, Chad Hanamaikai wrote:
>> how whould u specify different options for /usr/obj than
>> /usr/src and /usr/ports have?  /usr/src/ and /usr/ports in /etc/exports. I
>> want /usr/src/ and /usr/ports -alldirs -maproot=root  and i want
>> /usr/obj -alldirs -ro
>> 
>> I have this in my /etc/exports:
>> /usr/ports/ /usr/src -alldirs -maproot=root 192.168.1.1 192.168.1.4
>> /usr/obj -alldirs -ro 192.168.1.1 192.168.1.4
>> 
>> when i reboot or reload mountd i get:
>> mountd[74]: -alldirs has multiple directories
>> mountd[74]: bad exports list line /usr/ports /usr/src -alldirs -maproot
>> mountd[74]: cound not remount /usr/obj: Invaild argument
>> mountd[74]: bad exports list line /usr/obj -alldirs -ro 192.168.1.1
>> 192.168.1.4
>> 
>> any help whould be appreciated.
>
>Remove "-alldirs"
>
>-- 
>Jeremy Faulkner			http://www.gldis.ca

...also, you don't need to reboot if loading exports is your only reason:
# kill -HUP `cat /var/run/mountd.pid`   # To restart to renew exports
modified

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net

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?3.0.5.32.20020722175313.011cd350>