*BSD News Article 20342


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!math.ohio-state.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: pcnfsd and printer mounting
Message-ID: <1993Sep1.170908.25338@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University, Ogden, UT
References: <1893@dcsc.dla.mil>
Date: Wed, 1 Sep 93 17:09:08 GMT
Lines: 36

In article <1893@dcsc.dla.mil> cp01395@dcsc.dla.mil (Duane L. Rezac) writes:
[ ... ]
>when trying to mount a printer (lp2) from my pc using PC-NFS 3.5c,
>I get an access denied by server error message.
[ ... ]
>
>I have tracked it down to this: 
>
>when pcnfsd gets a print mount request, it creates a subdir in the
>spool directory, and tells the pc to mount it.  
>The problem is, that mountd will not let the pc mount a subdir of an
>exported directory.  
>
>A posting to comp.os.386bsd.bugs informed me that this is proper for
>mountd to do this.
[ ... ]
>On our larger, bsd based mini's we can mount the printer without
>having anything but the spool dir in the exports file.

The *BSD NFS should allow you to mount subdirectories of your exported
directories; if it doesn't, it's broken.

I believe there has already been a patch to this, at or around the same
time the "priveledged port" patch came out (so that you didn't have
to use the "-n" option on the remote mountd).

Basically, I believe that mounting subdirectories of exported FS's is
part of the suite of patches to support 3.0 NFS clients.  You may want
to check archives of comp.unix.bsd, perhaps as far back as Dec 1992.


					Terry Lambert
					terry@icarus.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.