1.\" $NetBSD: rpc.5,v 1.7 2001/09/11 01:22:51 wiz Exp $ 2.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4 3.\" Copyright 1989 AT&T 4.Dd December 10, 1991 5.Dt RPC 5 6.Sh NAME 7.Nm rpc 8.Nd rpc program number data base 9.Sh SYNOPSIS 10.Fa /etc/rpc 11.Sh DESCRIPTION 12The 13.Nm 14 file is a local source containing user readable names that 15can be used in place of RPC program numbers. 16.Pp 17The rpc file has one line for each RPC 18program name. The line has the following format: 19.Pp 20.I name-of-the-RPC-program RPC-program-number aliases 21.Pp 22Items are separated by any number of blanks and/or 23tab characters. 24A hash 25.Pq Dq \&# 26indicates the beginning of a comment; 27characters up to the end of the line are not interpreted 28by routines which search the file. 29.Sh FILES 30.Nm /etc/nsswitch.conf 31.Sh EXAMPLES 32Below is an example of an RPC database: 33.Pp 34.Bd -literal 35# 36# rpc 37# 38rpcbind 100000 portmap sunrpc portmapper 39rusersd 100002 rusers 40nfs 100003 nfsprog 41mountd 100005 mount showmount 42walld 100008 rwall shutdown 43sprayd 100012 spray 44llockmgr 100020 45nlockmgr 100021 46status 100024 47bootparam 100026 48keyserv 100029 keyserver 49.Ed 50.Sh SEE ALSO 51.Xr getrpcent 3 52