From owner-freebsd-questions Tue Jul 28 03:59:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18673 for freebsd-questions-outgoing; Tue, 28 Jul 1998 03:59:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18664 for ; Tue, 28 Jul 1998 03:59:33 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id GAA18222; Tue, 28 Jul 1998 06:47:06 -0400 (EDT) (envelope-from listread) Message-Id: <199807281047.GAA18222@lucy.bedford.net> Subject: Re: How can I install NFS on FreeBSD 2 In-Reply-To: <004101bdba04$52951760$52099584@pc-kichoi.cst.cnes.fr> from Kevin Kyeong-il CHOI at "Jul 28, 98 10:47:16 am" To: kevin.choi@cnes.fr (Kevin Kyeong-il CHOI) Date: Tue, 28 Jul 1998 06:47:05 -0400 (EDT) Cc: questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kevin Kyeong-il CHOI wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > (2) Change in /etc/exports as > /usr -alldirs pc-kichoi > /usr/pub -alldirs -network 132.149 -mask 255.255.0.0 > (3) Update mountd as > ps aux | grep mountd ---=> gives PID as 98 > kill -1 98 > > *** At this point, I get the errors as > Could not remount /usr/pub: Invalid argument > Bad exports list line /usr/pub -alldirs -network 132.149 -mask ... > If /usr/pub is not a separate file system (i.e., listed in /etc/fstab) then that is your trouble. You might try instead: /usr /usr/pub -alldirs -network 132.149 -mask 255.255.0.0 but that too will fail, since -alldirs causes an error; -alldirs can be applied only to the root of a filesystem. How about: /usr/pub -network 132.149 -mask 255.255.0.0 It will work, but may not be what you want. Do you really need "-alldirs?", i.e. does some host on 132.149.x.x need to do "mount yourhost:/usr/pub/foo/bar /mnt" ? Dave -- Sancho Panza: `Microsoft Windows NT Server is the most secure network operating system available.' Don Quixote: `You are mistaken, Sancho.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message