xref: /openbsd-src/share/man/man5/rpc.5 (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1.\"	$OpenBSD: rpc.5,v 1.8 2007/05/31 19:19:58 jmc Exp $
2.\"	$NetBSD: rpc.5,v 1.2 1994/11/30 19:31:30 jtc Exp $
3.\"	@(#)rpc.5	2.2 88/08/03 4.0 RPCSRC; from 1.4 87/11/27 SMI;
4.\"
5.\"	See the DISCLAIMER and README files in /usr/src/lib/libc/rpc for
6.\"	more information about this file.
7.\"
8.Dd $Mdocdate: May 31 2007 $
9.Dt RPC 5
10.Os
11.Sh NAME
12.Nm rpc
13.Nd rpc program number database
14.Sh DESCRIPTION
15The
16.Nm
17file contains user readable names that
18can be used in place of rpc program numbers.
19Each line has the following information:
20.Pp
21.Bl -item -offset indent -compact
22.It
23name of server for 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 tab characters.
31.Pp
32A hash mark
33.Pq Ql #
34indicates the beginning of a comment; subsequent characters up to the end of
35the line are not interpreted by the routines which search the file.
36.Sh FILES
37.Bl -tag -width /etc/rpc -compact
38.It Pa /etc/rpc
39.El
40.Sh EXAMPLES
41Here is an example of the
42.Pa /etc/rpc
43file from the Sun RPC Source distribution.
44.Bd -literal -offset indent
45#
46# rpc 88/08/01 4.0 RPCSRC; from 1.12   88/02/07 SMI
47#
48portmapper	100000	portmap sunrpc
49rstatd		100001	rstat rstat_svc rup perfmeter
50rusersd		100002	rusers
51nfs		100003	nfsprog
52ypserv		100004	ypprog
53mountd		100005	mount showmount
54ypbind		100007
55walld		100008	rwall shutdown
56yppasswdd	100009	yppasswd
57etherstatd	100010	etherstat
58rquotad		100011	rquotaprog quota rquota
59sprayd		100012	spray
603270_mapper	100013
61rje_mapper	100014
62selection_svc	100015	selnsvc
63database_svc	100016
64rexd		100017	rex
65alis		100018
66sched		100019
67llockmgr	100020
68nlockmgr	100021
69x25.inr		100022
70statmon		100023
71status		100024
72bootparam	100026
73ypupdated	100028	ypupdate
74keyserv		100029	keyserver
75tfsd		100037
76nsed		100038
77nsemntd		100039
78.Ed
79.Sh SEE ALSO
80.Xr getrpcent 3
81