up | Inhaltsverzeichniss | Kommentar

Manual page for HOSTRFS(8)

hostrfs - convert IP addresses to RFS format


hostrfs hostname [ portnum ]


This program is available with the RFS software installation option. Refer to [a manual with the abbreviation INSTALL] for information on how to install optional software.


hostrfs converts IP addresses to a format suitable for use by Remote File Sharing (RFS). It takes a hostname and an optional portnumber and produces an address in the following format:


Each field given above is a hex ASCII representation. The AF_INET field is the address family which always has the value 0002. portnum is the two-byte TCP port number; if not specified on the command line it defaults to 1450. IP-address is the IP address of the hostname given on the command line followed by 16 trailing zeroes.

The output of this command may be directly used as the network address field for the address of an RFS name server in the rfmaster.5 file. It may also be used as input to the nlsadmin (8) command to initialize the addresses on which the listener program listens for service requests.


The output of

example% hostrfs wopr



The output of the command can be used to initialize the network address on which the RFS listener program listens for remote service requests, for example:

example# nlsadmin -l `hostrfs wopr` tcp


rfmaster.5 nlsadmin.8

[a manual with the abbreviation ADMIN]

index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97