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