sync
[bitrig.git] / share / man / man5 / rpc.5
blob729b56f03eeaa1e82c8abe8844b4e1d37e250875
1 .\"     $OpenBSD: rpc.5,v 1.9 2010/09/01 14:43:34 millert 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 .\" Copyright (c) 2010, Oracle America, Inc.
6 .\"
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions are
9 .\" met:
10 .\"
11 .\"     * Redistributions of source code must retain the above copyright
12 .\"       notice, this list of conditions and the following disclaimer.
13 .\"     * Redistributions in binary form must reproduce the above
14 .\"       copyright notice, this list of conditions and the following
15 .\"       disclaimer in the documentation and/or other materials
16 .\"       provided with the distribution.
17 .\"     * Neither the name of the "Oracle America, Inc." nor the names of its
18 .\"       contributors may be used to endorse or promote products derived
19 .\"       from this software without specific prior written permission.
20 .\"
21 .\"   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 .\"   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 .\"   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24 .\"   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25 .\"   COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
26 .\"   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\"   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
28 .\"   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 .\"   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 .\"   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31 .\"   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 .\"   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 .\"
34 .Dd $Mdocdate: September 1 2010 $
35 .Dt RPC 5
36 .Os
37 .Sh NAME
38 .Nm rpc
39 .Nd rpc program number database
40 .Sh DESCRIPTION
41 The
42 .Nm
43 file contains user readable names that
44 can be used in place of rpc program numbers.
45 Each line has the following information:
46 .Pp
47 .Bl -item -offset indent -compact
48 .It
49 name of server for the rpc program
50 .It
51 rpc program number
52 .It
53 aliases
54 .El
55 .Pp
56 Items are separated by any number of blanks and/or tab characters.
57 .Pp
58 A hash mark
59 .Pq Ql #
60 indicates the beginning of a comment; subsequent characters up to the end of
61 the line are not interpreted by the routines which search the file.
62 .Sh FILES
63 .Bl -tag -width /etc/rpc -compact
64 .It Pa /etc/rpc
65 .El
66 .Sh EXAMPLES
67 Here is an example of the
68 .Pa /etc/rpc
69 file from the Sun RPC Source distribution.
70 .Bd -literal -offset indent
72 # rpc 88/08/01 4.0 RPCSRC; from 1.12   88/02/07 SMI
74 portmapper      100000  portmap sunrpc
75 rstatd          100001  rstat rstat_svc rup perfmeter
76 rusersd         100002  rusers
77 nfs             100003  nfsprog
78 ypserv          100004  ypprog
79 mountd          100005  mount showmount
80 ypbind          100007
81 walld           100008  rwall shutdown
82 yppasswdd       100009  yppasswd
83 etherstatd      100010  etherstat
84 rquotad         100011  rquotaprog quota rquota
85 sprayd          100012  spray
86 3270_mapper     100013
87 rje_mapper      100014
88 selection_svc   100015  selnsvc
89 database_svc    100016
90 rexd            100017  rex
91 alis            100018
92 sched           100019
93 llockmgr        100020
94 nlockmgr        100021
95 x25.inr         100022
96 statmon         100023
97 status          100024
98 bootparam       100026
99 ypupdated       100028  ypupdate
100 keyserv         100029  keyserver
101 tfsd            100037
102 nsed            100038
103 nsemntd         100039
105 .Sh SEE ALSO
106 .Xr getrpcent 3