[comp.protocols.nfs] pcnfsd from inetd?

shore@adobe.COM (Andrew Shore) (07/25/89)

Does anyone out there run pcnfsd from inetd (under SunOS 4.0.x or otherwise)?
Are there any pros or cons to doing it that way?
Are there any tricks to compiling it for inetd? (looks like there aren't)

What line do you feed to inetd in /etc/inetd.conf? 
I assume it is something like:

pcnfsd/1	dgram	rpc/udp	wait root /usr/etc/rpc.pcnfsd	rpc.pcnfsd

But what is the real name of rpc program 150001 (for field 1 above)?
It isn't in my /etc/rpc (rpc.bynumber) list.
[Even my sniffer doesn't know the number what it decodes a packet.]

Any info would be appreciated.

--Andy Shore
  Adobe Systems
  shore@adobe.com
  {decwrl,sun,apple}!adobe!shore

davef@Jessica.stanford.edu (David Finkelstein) (07/26/89)

In article <1011@adobe.UUCP> shore@adobe.COM (Andrew Shore) writes:
>Does anyone out there run pcnfsd from inetd (under SunOS 4.0.x or otherwise)?


Unfortunatley you can't.  I wasn't able to get it to run on our Sun
4s.  So we asked Sun about it, and they confirmed that it can't be
done.  So we start it in rc.local.

David Finkelstein
Academic Information Resources
Stanford University

anderson@ceee.nist.gov (William E. Anderson) (07/26/89)

On 25 Jul 89 17:11:03 GMT,
davef@Jessica.stanford.edu (David Finkelstein) said:

 >Does anyone out there run pcnfsd from inetd (under SunOS 4.0.x or otherwise)?

David> Unfortunatley you can't.  I wasn't able to get it to run on our Sun
David> 4s.  So we asked Sun about it, and they confirmed that it can't be
David> done.  So we start it in rc.local.

David> David Finkelstein
David> Academic Information Resources
David> Stanford University

We run pcnfsd from inetd on our Sun 3/280 running 4.0.{1,3}.  In 
/etc/rpc (on the YP master if there is one) add:

  pcnfsd          150001

NAME:   William E. Anderson            TELE: (301) 975-2423
USMAIL: NIST (formerly NBS)            INTERNET: anderson@ceee.nist.gov
        Rm. B-344, Bldg. 220           UUCP: uunet!cme-durer!anderson
        Gaithersburg, MD  20899