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;
5 .\" Copyright (c) 2010, Oracle America, Inc.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions are
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.
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.
34 .Dd $Mdocdate: September 1 2010 $
39 .Nd rpc program number database
43 file contains user readable names that
44 can be used in place of rpc program numbers.
45 Each line has the following information:
47 .Bl -item -offset indent -compact
49 name of server for the rpc program
56 Items are separated by any number of blanks and/or tab characters.
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.
63 .Bl -tag -width /etc/rpc -compact
67 Here is an example of the
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
79 mountd 100005 mount showmount
81 walld 100008 rwall shutdown
82 yppasswdd 100009 yppasswd
83 etherstatd 100010 etherstat
84 rquotad 100011 rquotaprog quota rquota
88 selection_svc 100015 selnsvc
99 ypupdated 100028 ypupdate
100 keyserv 100029 keyserver