Contains the database for Remote Procedure Calls (RPC) program numbers using NFS.
The /etc/rpc file, part the Network Support Facilities, contains names that are used in place of RPC program numbers. These names can be read by users. Each line of the file contains the following entries:
Entry | Description |
---|---|
Name of Server for the RPC Program | Specifies the name of the server daemon that provides the RPC program. |
RPC Program Number | Specifies the number assigned to the program by the RPC protocol. |
Aliases | Specifies alternate names by which the service can be requested. |
The three entries for each line are entered in the order listed here. Entries can be separated by any number of blanks or tab characters, provided the line does not wrap. Commented lines in the file must begin with a # (pound sign). Characters in a commented line are not interpreted by routines that search the file.
A sample /etc/rpc file follows:
portmapper 100000 portmap sunrpc
rstatd 100001 rstat rup perfmeter
rusersd 100002 rusers
nfs 100003 nfsprog
ypserv 100004 ypprog
mountd 100005 mount showmount