xref: /openbsd-src/share/man/man5/rpc.5 (revision cb7760d181b85988239aa31e102cfd38c6ab30ad)
1*cb7760d1Smillert.\"	$OpenBSD: rpc.5,v 1.9 2010/09/01 14:43:34 millert Exp $
2df930be7Sderaadt.\"	$NetBSD: rpc.5,v 1.2 1994/11/30 19:31:30 jtc Exp $
3df930be7Sderaadt.\"	@(#)rpc.5	2.2 88/08/03 4.0 RPCSRC; from 1.4 87/11/27 SMI;
4df930be7Sderaadt.\"
5*cb7760d1Smillert.\" Copyright (c) 2010, Oracle America, Inc.
6df930be7Sderaadt.\"
7*cb7760d1Smillert.\" Redistribution and use in source and binary forms, with or without
8*cb7760d1Smillert.\" modification, are permitted provided that the following conditions are
9*cb7760d1Smillert.\" met:
10*cb7760d1Smillert.\"
11*cb7760d1Smillert.\"     * Redistributions of source code must retain the above copyright
12*cb7760d1Smillert.\"       notice, this list of conditions and the following disclaimer.
13*cb7760d1Smillert.\"     * Redistributions in binary form must reproduce the above
14*cb7760d1Smillert.\"       copyright notice, this list of conditions and the following
15*cb7760d1Smillert.\"       disclaimer in the documentation and/or other materials
16*cb7760d1Smillert.\"       provided with the distribution.
17*cb7760d1Smillert.\"     * Neither the name of the "Oracle America, Inc." nor the names of its
18*cb7760d1Smillert.\"       contributors may be used to endorse or promote products derived
19*cb7760d1Smillert.\"       from this software without specific prior written permission.
20*cb7760d1Smillert.\"
21*cb7760d1Smillert.\"   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22*cb7760d1Smillert.\"   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23*cb7760d1Smillert.\"   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24*cb7760d1Smillert.\"   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25*cb7760d1Smillert.\"   COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
26*cb7760d1Smillert.\"   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27*cb7760d1Smillert.\"   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
28*cb7760d1Smillert.\"   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29*cb7760d1Smillert.\"   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30*cb7760d1Smillert.\"   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31*cb7760d1Smillert.\"   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32*cb7760d1Smillert.\"   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*cb7760d1Smillert.\"
34*cb7760d1Smillert.Dd $Mdocdate: September 1 2010 $
35df930be7Sderaadt.Dt RPC 5
36df930be7Sderaadt.Os
37df930be7Sderaadt.Sh NAME
38df930be7Sderaadt.Nm rpc
39df930be7Sderaadt.Nd rpc program number database
40df930be7Sderaadt.Sh DESCRIPTION
41df930be7SderaadtThe
42fbd19cc4Saaron.Nm
43df930be7Sderaadtfile contains user readable names that
44df930be7Sderaadtcan be used in place of rpc program numbers.
45df930be7SderaadtEach line has the following information:
46df930be7Sderaadt.Pp
47df930be7Sderaadt.Bl -item -offset indent -compact
48df930be7Sderaadt.It
49df930be7Sderaadtname of server for the rpc program
50df930be7Sderaadt.It
51df930be7Sderaadtrpc program number
52df930be7Sderaadt.It
53df930be7Sderaadtaliases
54df930be7Sderaadt.El
55df930be7Sderaadt.Pp
56431305c8SaaronItems are separated by any number of blanks and/or tab characters.
570fb97a5aSaaron.Pp
580fb97a5aSaaronA hash mark
590fb97a5aSaaron.Pq Ql #
600fb97a5aSaaronindicates the beginning of a comment; subsequent characters up to the end of
610fb97a5aSaaronthe line are not interpreted by the routines which search the file.
623b1d4ce7Sjmc.Sh FILES
633b1d4ce7Sjmc.Bl -tag -width /etc/rpc -compact
643b1d4ce7Sjmc.It Pa /etc/rpc
653b1d4ce7Sjmc.El
66df930be7Sderaadt.Sh EXAMPLES
67df930be7SderaadtHere is an example of the
68df930be7Sderaadt.Pa /etc/rpc
69df930be7Sderaadtfile from the Sun RPC Source distribution.
70df930be7Sderaadt.Bd -literal -offset indent
71df930be7Sderaadt#
72df930be7Sderaadt# rpc 88/08/01 4.0 RPCSRC; from 1.12   88/02/07 SMI
73df930be7Sderaadt#
74df930be7Sderaadtportmapper	100000	portmap sunrpc
75df930be7Sderaadtrstatd		100001	rstat rstat_svc rup perfmeter
76df930be7Sderaadtrusersd		100002	rusers
77df930be7Sderaadtnfs		100003	nfsprog
78df930be7Sderaadtypserv		100004	ypprog
79df930be7Sderaadtmountd		100005	mount showmount
80df930be7Sderaadtypbind		100007
81df930be7Sderaadtwalld		100008	rwall shutdown
82df930be7Sderaadtyppasswdd	100009	yppasswd
83df930be7Sderaadtetherstatd	100010	etherstat
84df930be7Sderaadtrquotad		100011	rquotaprog quota rquota
85df930be7Sderaadtsprayd		100012	spray
86df930be7Sderaadt3270_mapper	100013
87df930be7Sderaadtrje_mapper	100014
88df930be7Sderaadtselection_svc	100015	selnsvc
89df930be7Sderaadtdatabase_svc	100016
90df930be7Sderaadtrexd		100017	rex
91df930be7Sderaadtalis		100018
92df930be7Sderaadtsched		100019
93df930be7Sderaadtllockmgr	100020
94df930be7Sderaadtnlockmgr	100021
95df930be7Sderaadtx25.inr		100022
96df930be7Sderaadtstatmon		100023
97df930be7Sderaadtstatus		100024
98df930be7Sderaadtbootparam	100026
99df930be7Sderaadtypupdated	100028	ypupdate
100df930be7Sderaadtkeyserv		100029	keyserver
101df930be7Sderaadttfsd		100037
102df930be7Sderaadtnsed		100038
103df930be7Sderaadtnsemntd		100039
104df930be7Sderaadt.Ed
105df930be7Sderaadt.Sh SEE ALSO
106df930be7Sderaadt.Xr getrpcent 3
107