xref: /freebsd/lib/libc/rpc/rpc.5 (revision 6fd05b64b5b65dd4ba9b86482a0634a5f0b96c29)
1.\" $NetBSD: rpc.5,v 1.3 2000/06/15 20:05:54 fvdl Exp $
2.\" $FreeBSD$
3.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4
4.\" Copyright 1989 AT&T
5.Dd December 10, 1991
6.Dt RPC 5
7.Os
8.Sh NAME
9.Nm rpc
10.Nd rpc program number data base
11.Sh SYNOPSIS
12.Pa /etc/rpc
13.Sh DESCRIPTION
14The
15.Nm
16file contains user readable names that
17can be used in place of RPC program numbers.
18For each RPC program a single line should be present
19with the following information:
20.Pp
21.Bl -enum -compact
22.It
23name of the RPC program
24.It
25RPC program number
26.It
27aliases
28.El
29.Pp
30Items are separated by any number of blanks and/or
31tab characters.
32A hash
33.Pq Dq Li #
34indicates the beginning of a comment; characters up to the end of
35the line are not interpreted by routines which search the file.
36.Sh EXAMPLES
37Below is an example of an RPC database:
38.Bd -literal
39#
40#	rpc
41#
42rpcbind		100000	portmap	sunrpc portmapper
43rusersd		100002	rusers
44nfs		100003	nfsprog
45mountd		100005	mount	showmount
46walld		100008	rwall	shutdown
47sprayd		100012	spray
48llockmgr	100020
49nlockmgr	100021
50status		100024
51bootparam	100026
52keyserv		100029	keyserver
53.Ed
54.Sh FILES
55.Bl -tag -width /etc/nsswitch.conf -compact
56.It Pa /etc/nsswitch.conf
57.El
58.Sh SEE ALSO
59.Xr getrpcent 3
60