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