up | Inhaltsverzeichniss | Kommentar

Manual page for HOSTRFS(8)

hostrfs - convert IP addresses to RFS format

SYNOPSIS

hostrfs hostname [ portnum ]

AVAILABILITY

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.

DESCRIPTION

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:

\x<AF-INET><portnum><IP-address>0000000000000000

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.

EXAMPLES

The output of

example% hostrfs wopr

is

\00021450819035090000000000000000

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

SEE ALSO

rfmaster.5 nlsadmin.8

[a manual with the abbreviation ADMIN]


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97