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 41The 42.Nm 43file contains user readable names that 44can be used in place of rpc program numbers. 45Each line has the following information: 46.Pp 47.Bl -item -offset indent -compact 48.It 49name of server for the rpc program 50.It 51rpc program number 52.It 53aliases 54.El 55.Pp 56Items are separated by any number of blanks and/or tab characters. 57.Pp 58A hash mark 59.Pq Ql # 60indicates the beginning of a comment; subsequent characters up to the end of 61the 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 67Here is an example of the 68.Pa /etc/rpc 69file from the Sun RPC Source distribution. 70.Bd -literal -offset indent 71# 72# rpc 88/08/01 4.0 RPCSRC; from 1.12 88/02/07 SMI 73# 74portmapper 100000 portmap sunrpc 75rstatd 100001 rstat rstat_svc rup perfmeter 76rusersd 100002 rusers 77nfs 100003 nfsprog 78ypserv 100004 ypprog 79mountd 100005 mount showmount 80ypbind 100007 81walld 100008 rwall shutdown 82yppasswdd 100009 yppasswd 83etherstatd 100010 etherstat 84rquotad 100011 rquotaprog quota rquota 85sprayd 100012 spray 863270_mapper 100013 87rje_mapper 100014 88selection_svc 100015 selnsvc 89database_svc 100016 90rexd 100017 rex 91alis 100018 92sched 100019 93llockmgr 100020 94nlockmgr 100021 95x25.inr 100022 96statmon 100023 97status 100024 98bootparam 100026 99ypupdated 100028 ypupdate 100keyserv 100029 keyserver 101tfsd 100037 102nsed 100038 103nsemntd 100039 104.Ed 105.Sh SEE ALSO 106.Xr getrpcent 3 107