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