xref: /freebsd/lib/libc/rpc/rpc.5 (revision 2008043f386721d58158e37e0d7e50df8095942d)
1.\" $NetBSD: rpc.5,v 1.3 2000/06/15 20:05:54 fvdl 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 contains user readable names that
16can be used in place of RPC program numbers.
17For each RPC program a single line should be present
18with the following information:
19.Pp
20.Bl -enum -compact
21.It
22name of the RPC program
23.It
24RPC program number
25.It
26aliases
27.El
28.Pp
29Items are separated by any number of blanks and/or
30tab characters.
31A hash
32.Pq Dq Li #
33indicates the beginning of a comment; characters up to the end of
34the line are not interpreted by routines which search the file.
35.Sh FILES
36.Bl -tag -width /etc/nsswitch.conf -compact
37.It Pa /etc/nsswitch.conf
38.El
39.Sh EXAMPLES
40Below is an example of an RPC database:
41.Bd -literal
42#
43#	rpc
44#
45rpcbind		100000	portmap	sunrpc portmapper
46rusersd		100002	rusers
47nfs		100003	nfsprog
48mountd		100005	mount	showmount
49walld		100008	rwall	shutdown
50sprayd		100012	spray
51llockmgr	100020
52nlockmgr	100021
53status		100024
54bootparam	100026
55keyserv		100029	keyserver
56.Ed
57.Sh SEE ALSO
58.Xr getrpcent 3
59