From owner-freebsd-stable Sun May 9 12:47:51 1999 Delivered-To: freebsd-stable@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id 025AA1581D for ; Sun, 9 May 1999 12:47:48 -0700 (PDT) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id PAA07308; Sun, 9 May 1999 15:47:45 -0400 (EDT) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id PAA26970; Sun, 9 May 1999 15:47:45 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 09 May 1999 15:47:45 -0400 (EDT) From: John Baldwin To: "Sergey Ayukov (mailing lists)" Subject: Re: NFS question.. Cc: freebsd-stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-May-99 Sergey Ayukov (mailing lists) wrote: > 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! Glad that it worked. Also, according to the exports(5) manpage, the -alldirs flag would have exported all of /var, which is not what you wanted: "...the -alldirs flag; this form allows the host(s) to mount at any point within the filesystem..." Which is not what you wanted. The best solution might be to (in the future) make /var/spool/pcnfs it's own partition and then export that with -alldirs. I looked through the mountd source very briefly but didn't see why the -alldirs option made a difference. Hmm. --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message