Re: specifying what port mountd runs on

From: Max Matveev (max.matveev_at_sgi.com)
Date: 12/08/04

  • Next message: Albert Chin-A-Young: "Re: Size of C++ objects"
    Date: 09 Dec 2004 08:37:17 +1100
    
    

    >>>>> "c.r.j" == Chris Jones <c.r.jonesNOSPAM@larc.nasa.gov> writes:

     c.r.j> I've got some systems where I'm trying to specify which port mountd
     c.r.j> runs on... and putting any kind of mountd entry in /etc/services
     c.r.j> doesn't do any good.

    No standard IRIX RPC servers except portmap/rpcbind uses /etc/services.

     c.r.j> Doing some googling found me the /etc/rpcports file, that
     c.r.j> reads like it does the trick... but it doesn't do me any good
     c.r.j> because the SGI techpubs page on it says it's only available
     c.r.j> in
     c.r.j> 6.5.20 and on (so I of course haven't tried using it).
    Well, upgrade to .20.

     c.r.j> But there's got to be some way I can force mountd to always use a
     c.r.j> specific port
    Not in the obvious way. You could pass open and bound sockets to
    mountd as first N (N depends on the version of Irix you run, 4 is a
    good guess) file descriptors but if you do it you'd need to register
    them with portmap youself. You would also need to make sure inetd does
    not get in the way. Honestly, use rpcport - this is what it is for.

    max


  • Next message: Albert Chin-A-Young: "Re: Size of C++ objects"