From owner-freebsd-stable Sun May 9 12:30: 4 1999 Delivered-To: freebsd-stable@freebsd.org Received: from crydee.sai.msu.ru (crydee.sai.msu.ru [195.208.220.203]) by hub.freebsd.org (Postfix) with ESMTP id 9E4B814CF2 for ; Sun, 9 May 1999 12:29:34 -0700 (PDT) (envelope-from asv1@crydee.sai.msu.ru) Received: from localhost (asv1@localhost) by crydee.sai.msu.ru (8.9.2/8.9.2) with ESMTP id WAA01092; Sun, 9 May 1999 22:30:30 +0400 (MSD) (envelope-from asv1@crydee.sai.msu.ru) Date: Sun, 9 May 1999 22:30:30 +0400 (MSD) From: "Sergey Ayukov (mailing lists)" To: John Baldwin Cc: freebsd-stable@FreeBSD.ORG Subject: Re: NFS question.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 9 May 1999, John Baldwin wrote: > >> Looks like you already have /var or a subdirectory under it in another > >> exports > >> line that contains a host from 195.208.220 > > > > No. Here's /etc/exports which causes the above error: > > > ># > ># This file contains a list of all directories exported to other computers. > ># It is used by rpc.nfsd and rpc.mountd. > > > > /vol1/ftp/pub/.1 -ro -network 195.208.220 -mask 255.255.255.0 > > /vol1/ftp/pub/.2 -ro -network 195.208.220 -mask 255.255.255.0 > > > > /var/spool/pcnfs -alldirs -network 195.208.220 > -mask 255.255.255.0 > > /var/spool/pcnfs -alldirs -network 158.250.29 > -mask 255.255.255.0 > > > > /vol1/ftp/pub/.1 -ro -network 158.250.29 -mask 255.255.255.0 > > /vol1/ftp/pub/.2 -ro -network 158.250.29 -mask 255.255.255.0 > > > > /vol1 lab > > /vol1/ftp/pub/.1 lab > > /vol1/ftp/pub/.2 lab > > /home -alldirs lab > > /tmp1 lab > > Does it still give an error if you take the "-alldirs" option out of the > /var/spool/pcnfs lines? Surprisingly, no. This looks quite interesting. The reason I was putting -alldirs flag is in stupid pcnfs printing which mounts directories like /var/spool/pcnfs/machine-name. The solution I have settled on is rather ugly but seems to work: /var/spool/pcnfs/fine \ /var/spool/pcnfs/fine2 \ /var/spool/pcnfs/lyambda \ /var/spool/pcnfs/solar \ /var/spool/pcnfs/universe \ /var/spool/pcnfs/silden \ /var/spool/pcnfs/rillanon /var/spool/pcnfs/practic \ /var/spool/pcnfs/prof \ /var/spool/pcnfs/spiral \ lab friends (lab and friends are netgroups; this BSD feature I quite like). At least one problem with NFS seems to go away... Thank you very much, John! --------------------------------------------------------------------------- Dr. Sergey Ayukov Sternberg Astronomical Institute http://www.ayukov.com Moscow, Russia http://crydee.sai.msu.ru/index-asv.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message