xref: /dragonfly/lib/libc/rpc/rpc.5 (revision 5fb3968e)
1.\" $NetBSD: rpc.5,v 1.3 2000/06/15 20:05:54 fvdl Exp $
2.\" $FreeBSD: src/lib/libc/rpc/rpc.5,v 1.11 2005/01/20 09:17:04 ru Exp $
3.\" $DragonFly: src/lib/libc/rpc/rpc.5,v 1.2 2003/06/17 04:26:45 dillon Exp $
4.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4
5.\" Copyright 1989 AT&T
6.Dd December 10, 1991
7.Dt RPC 5
8.Os
9.Sh NAME
10.Nm rpc
11.Nd rpc program number data base
12.Sh SYNOPSIS
13.Pa /etc/rpc
14.Sh DESCRIPTION
15The
16.Nm
17file contains user readable names that
18can be used in place of RPC program numbers.
19For each RPC program a single line should be present
20with the following information:
21.Pp
22.Bl -enum -compact
23.It
24name of the RPC program
25.It
26RPC program number
27.It
28aliases
29.El
30.Pp
31Items are separated by any number of blanks and/or
32tab characters.
33A hash
34.Pq Dq Li #
35indicates the beginning of a comment; characters up to the end of
36the line are not interpreted by routines which search the file.
37.Sh FILES
38.Bl -tag -width /etc/nsswitch.conf -compact
39.It Pa /etc/nsswitch.conf
40.El
41.Sh EXAMPLES
42Below is an example of an RPC database:
43.Bd -literal
44#
45#	rpc
46#
47rpcbind		100000	portmap	sunrpc rpcbind
48rusersd		100002	rusers
49nfs		100003	nfsprog
50mountd		100005	mount	showmount
51walld		100008	rwall	shutdown
52sprayd		100012	spray
53llockmgr	100020
54nlockmgr	100021
55status		100024
56bootparam	100026
57keyserv		100029	keyserver
58.Ed
59.Sh SEE ALSO
60.Xr getrpcent 3
61