xref: /netbsd-src/share/man/man5/rpc.5 (revision 39d8199988f772b39fd1b60f59a109325d055ab4)
1.\" $NetBSD: rpc.5,v 1.11 2013/03/15 19:32:31 njoly Exp $
2.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4
3.\" Copyright 1989 AT&T
4.Dd December 10, 1991
5.Dt RPC 5
6.Os
7.Sh NAME
8.Nm rpc
9.Nd rpc program number data base
10.Sh SYNOPSIS
11.Pa /etc/rpc
12.Sh DESCRIPTION
13The
14.Nm
15file is a local source containing user readable names that
16can be used in place of RPC program numbers.
17.Pp
18The
19.Nm
20file has one line for each RPC program name.
21The line has the following format:
22.Pp
23.Dl name-of-the-RPC-program	RPC-program-number	aliases
24.Pp
25Items are separated by any number of blanks and/or
26tab characters.
27A hash
28.Pq Dq \&#
29indicates the beginning of a comment;
30characters up to the end of the line are not interpreted
31by routines which search the file.
32.Sh FILES
33.Pa /etc/rpc
34.Sh EXAMPLES
35Below is an example of an RPC data base:
36.Pp
37.Bd -literal
38#
39#	rpc
40#
41rpcbind		100000	portmap	sunrpc portmapper
42rusersd		100002	rusers
43nfs		100003	nfsprog
44mountd		100005	mount	showmount
45walld		100008	rwall	shutdown
46sprayd		100012	spray
47llockmgr	100020
48nlockmgr	100021
49status		100024
50bootparam	100026
51keyserv		100029	keyserver
52.Ed
53.Sh SEE ALSO
54.Xr getrpcent 3
55