[blfs-support] playing with /etc/services //lockd port

lux-integ lux-integ at btconnect.com
Sun Mar 10 14:06:57 PDT 2013


On Sunday 10 March 2013 19:39:58 lux-integ wrote:
> Greetings
> 
> For nfs   the statd port is determined by the kernel. It can be determined
> byy some script    i.e. something like
> 
> statd_port=$(/bin/sh /path/to/somescript)
> 
> For firewall and other uses,  it would be useful to fetch the port number
> by such a script.  So can one put a line such like  the the above 
> /etc/services for this purpose?
> 
> 
> thanks in advance
> 
> sincerely
> luxInteg


> statd_port=$(/bin/sh /path/to/somescript)
oops  above  email was meant to be about lockd port so line above 
would read:
lockd_port=$(/bin/sh /path/to/somescript)



More information about the blfs-support mailing list