xref: /netbsd-src/share/man/man5/rpc.5 (revision 481fca6e59249d8ffcf24fef7cfbe7b131bfb080)
1.\" $NetBSD: rpc.5,v 1.3 2000/06/15 20:05:54 fvdl Exp $
2.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4
3.\" Copyright 1989 AT&T
4.Dd December 10, 1991
5.Dt RPC 5
6.Sh NAME
7.Nm rpc
8.Nd rpc program number data base
9.Sh SYNOPSIS
10.Fa /etc/rpc
11.Sh DESCRIPTION
12The
13.Nm
14 file is a local source containing user readable names that
15can be used in place of RPC program numbers.
16.Pp
17The rpc file has one line for each RPC
18program name. The line has the following format:
19.Pp
20.I name-of-the-RPC-program	RPC-program-number	aliases
21.Pp
22Items are separated by any number of blanks and/or
23tab characters.
24A ``#'' indicates the beginning of a comment;
25characters up to the end of the line are not interpreted
26by routines which search the file.
27.Sh EXAMPLES
28.Pp
29Below is an example of an RPC database:
30.Pp
31.Bd -literal
32#
33#	rpc
34#
35rpcbind		100000	portmap	sunrpc portmapper
36rusersd		100002	rusers
37nfs		100003	nfsprog
38mountd		100005	mount	showmount
39walld		100008	rwall	shutdown
40sprayd		100012	spray
41llockmgr	100020
42nlockmgr	100021
43status		100024
44bootparam	100026
45keyserv		100029	keyserver
46.Ed
47.Sh SEE ALSO
48.Xr getrpcent 3
49.Sh FILES
50.Nm /etc/nsswitch.conf
51