xref: /openbsd-src/share/man/man5/rpc.5 (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1.\"	$OpenBSD: rpc.5,v 1.6 2000/10/26 00:37:05 aaron 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 September 26, 1985
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 EXAMPLES
37Here is an example of the
38.Pa /etc/rpc
39file from the Sun RPC Source distribution.
40.Bd -literal -offset indent
41#
42# rpc 88/08/01 4.0 RPCSRC; from 1.12   88/02/07 SMI
43#
44portmapper	100000	portmap sunrpc
45rstatd		100001	rstat rstat_svc rup perfmeter
46rusersd		100002	rusers
47nfs		100003	nfsprog
48ypserv		100004	ypprog
49mountd		100005	mount showmount
50ypbind		100007
51walld		100008	rwall shutdown
52yppasswdd	100009	yppasswd
53etherstatd	100010	etherstat
54rquotad		100011	rquotaprog quota rquota
55sprayd		100012	spray
563270_mapper	100013
57rje_mapper	100014
58selection_svc	100015	selnsvc
59database_svc	100016
60rexd		100017	rex
61alis		100018
62sched		100019
63llockmgr	100020
64nlockmgr	100021
65x25.inr		100022
66statmon		100023
67status		100024
68bootparam	100026
69ypupdated	100028	ypupdate
70keyserv		100029	keyserver
71tfsd		100037
72nsed		100038
73nsemntd		100039
74.Ed
75.Sh FILES
76.Bl -tag -width /etc/rpc -compact
77.It Pa /etc/rpc
78.El
79.Sh SEE ALSO
80.Xr getrpcent 3
81