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