]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libc/rpc/rpc.5
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libc / rpc / rpc.5
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
14 The
15 .Nm
16 file contains user readable names that
17 can be used in place of RPC program numbers.
18 For each RPC program a single line should be present
19 with the following information:
20 .Pp
21 .Bl -enum -compact
22 .It
23 name of the RPC program
24 .It
25 RPC program number
26 .It
27 aliases
28 .El
29 .Pp
30 Items are separated by any number of blanks and/or
31 tab characters.
32 A hash
33 .Pq Dq Li #
34 indicates the beginning of a comment; characters up to the end of
35 the 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
41 Below is an example of an RPC database:
42 .Bd -literal
43 #
44 #       rpc
45 #
46 rpcbind         100000  portmap sunrpc portmapper
47 rusersd         100002  rusers
48 nfs             100003  nfsprog
49 mountd          100005  mount   showmount
50 walld           100008  rwall   shutdown
51 sprayd          100012  spray
52 llockmgr        100020
53 nlockmgr        100021
54 status          100024
55 bootparam       100026
56 keyserv         100029  keyserver
57 .Ed
58 .Sh SEE ALSO
59 .Xr getrpcent 3