Numerous adjustments to the recent rpcbind etc. changes.
[dragonfly.git] / lib / libc / rpc / rpc.5
CommitLineData
ce0e08e2
PA
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 $
1de703da 3.\" $DragonFly: src/lib/libc/rpc/rpc.5,v 1.2 2003/06/17 04:26:45 dillon Exp $
ce0e08e2
PA
4.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4
5.\" Copyright 1989 AT&T
6.Dd December 10, 1991
984263bc
MD
7.Dt RPC 5
8.Os
9.Sh NAME
10.Nm rpc
11.Nd rpc program number data base
12.Sh SYNOPSIS
ce0e08e2 13.Pa /etc/rpc
984263bc
MD
14.Sh DESCRIPTION
15The
ce0e08e2 16.Nm
984263bc 17file contains user readable names that
ce0e08e2
PA
18can be used in place of RPC program numbers.
19For each RPC program a single line should be present
20with the following information:
984263bc 21.Pp
ce0e08e2 22.Bl -enum -compact
984263bc 23.It
ce0e08e2 24name of the RPC program
984263bc 25.It
ce0e08e2 26RPC program number
984263bc
MD
27.It
28aliases
29.El
30.Pp
31Items are separated by any number of blanks and/or
32tab characters.
ce0e08e2
PA
33A hash
34.Pq Dq Li #
35indicates the beginning of a comment; characters up to the end of
984263bc
MD
36the line are not interpreted by routines which search the file.
37.Sh FILES
ce0e08e2
PA
38.Bl -tag -width /etc/nsswitch.conf -compact
39.It Pa /etc/nsswitch.conf
984263bc 40.El
ce0e08e2
PA
41.Sh EXAMPLES
42Below is an example of an RPC database:
43.Bd -literal
44#
45# rpc
46#
3b813696 47rpcbind 100000 portmap sunrpc rpcbind
ce0e08e2
PA
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
984263bc 60.Xr getrpcent 3