rpc.5 (24a0682c6465290759ed0b09ea16e40e7cd47053) rpc.5 (990647991e51c0f93ad5d9985587a60f322f543a)
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
1.\" @(#)rpc.5 2.2 88/08/03 4.0 RPCSRC; from 1.4 87/11/27 SMI;
2.TH RPC 5 "26 September 1985"
3.SH NAME
4rpc \- rpc program number data base
5.SH SYNOPSIS
6.B /etc/rpc
7.SH DESCRIPTION
14The
8The
15.Nm
9.I rpc
16file contains user readable names that
10file 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
11can be used in place of rpc program numbers.
12Each line has the following information:
13.HP 10
14name of server for the rpc program
15.br
16.ns
17.HP 10
18rpc program number
19.br
20.ns
21.HP 10
27aliases
22aliases
28.El
29.Pp
23.LP
30Items are separated by any number of blanks and/or
31tab characters.
24Items are separated by any number of blanks and/or
25tab characters.
32A hash
33.Pq Dq Li #
34indicates the beginning of a comment; characters up to the end of
26A ``#'' indicates the beginning of a comment; characters up to the end of
35the line are not interpreted by routines which search the file.
27the 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
28.LP
29Here is an example of the \fI/etc/rpc\fP file from the Sun RPC Source
30distribution.
31.nf
32.ta 1.5i +0.5i +1.0i +1.0i
43#
33#
44# rpc
34# rpc 88/08/01 4.0 RPCSRC; from 1.12 88/02/07 SMI
45#
35#
46rpcbind 100000 portmap sunrpc portmapper
36portmapper 100000 portmap sunrpc
37rstatd 100001 rstat rstat_svc rup perfmeter
47rusersd 100002 rusers
48nfs 100003 nfsprog
38rusersd 100002 rusers
39nfs 100003 nfsprog
49mountd 100005 mount showmount
50walld 100008 rwall shutdown
40ypserv 100004 ypprog
41mountd 100005 mount showmount
42ypbind 100007
43walld 100008 rwall shutdown
44yppasswdd 100009 yppasswd
45etherstatd 100010 etherstat
46rquotad 100011 rquotaprog quota rquota
51sprayd 100012 spray
47sprayd 100012 spray
52llockmgr 100020
53nlockmgr 100021
483270_mapper 100013
49rje_mapper 100014
50selection_svc 100015 selnsvc
51database_svc 100016
52rexd 100017 rex
53alis 100018
54sched 100019
55llockmgr 100020
56nlockmgr 100021
57x25.inr 100022
58statmon 100023
54status 100024
59status 100024
55bootparam 100026
60bootparam 100026
61ypupdated 100028 ypupdate
56keyserv 100029 keyserver
62keyserv 100029 keyserver
57.Ed
58.Sh SEE ALSO
59.Xr getrpcent 3
63tfsd 100037
64nsed 100038
65nsemntd 100039
66.fi
67.DT
68.SH FILES
69/etc/rpc
70.SH "SEE ALSO"
71getrpcent(3N)