xref: /netbsd/share/man/man5/rpc.5 (revision 6550d01e)
1.\" $NetBSD: rpc.5,v 1.9 2009/03/11 13:51:47 joerg 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.Fa /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 rpc file has one line for each RPC
19program name. The line has the following format:
20.Pp
21.Dl name-of-the-RPC-program	RPC-program-number	aliases
22.Pp
23Items are separated by any number of blanks and/or
24tab characters.
25A hash
26.Pq Dq \&#
27indicates the beginning of a comment;
28characters up to the end of the line are not interpreted
29by routines which search the file.
30.Sh FILES
31.Nm /etc/nsswitch.conf
32.Sh EXAMPLES
33Below is an example of an RPC database:
34.Pp
35.Bd -literal
36#
37#	rpc
38#
39rpcbind		100000	portmap	sunrpc portmapper
40rusersd		100002	rusers
41nfs		100003	nfsprog
42mountd		100005	mount	showmount
43walld		100008	rwall	shutdown
44sprayd		100012	spray
45llockmgr	100020
46nlockmgr	100021
47status		100024
48bootparam	100026
49keyserv		100029	keyserver
50.Ed
51.Sh SEE ALSO
52.Xr getrpcent 3
53