summaryrefslogtreecommitdiffstats
path: root/usr.sbin/portmap/portmap.8
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-10-09 07:17:36 +0000
committercharnier <charnier@FreeBSD.org>1997-10-09 07:17:36 +0000
commit6d64125af79075a334fc10b542f72059b668de3d (patch)
treec36830ab847da954e41fd0345ee3f004a854c701 /usr.sbin/portmap/portmap.8
parent0b1a7c5e856a56645b58c8fbf485e1bf6bdf3a01 (diff)
downloadFreeBSD-src-6d64125af79075a334fc10b542f72059b668de3d.zip
FreeBSD-src-6d64125af79075a334fc10b542f72059b668de3d.tar.gz
Use err(3). Add usage().
Correct the .Nd string: in real life, portmap is translating rpc prog numbers to darpa ports, not the opposite.
Diffstat (limited to 'usr.sbin/portmap/portmap.8')
-rw-r--r--usr.sbin/portmap/portmap.825
1 files changed, 13 insertions, 12 deletions
diff --git a/usr.sbin/portmap/portmap.8 b/usr.sbin/portmap/portmap.8
index 6ee765c..5635356 100644
--- a/usr.sbin/portmap/portmap.8
+++ b/usr.sbin/portmap/portmap.8
@@ -38,10 +38,11 @@
.Sh NAME
.Nm portmap
.Nd
-.Tn DARPA
-port to
.Tn RPC
-program number mapper
+program,version
+to
+.Tn DARPA
+port mapper
.Sh SYNOPSIS
.Nm portmap
.Op Fl d
@@ -60,7 +61,7 @@ calls.
When an
.Tn RPC
server is started, it will tell
-.Nm portmap
+.Nm
what port number it is listening to, and what
.Tn RPC
program numbers it is prepared to serve.
@@ -68,7 +69,7 @@ When a client wishes to make an
.Tn RPC
call to a given program number,
it will first contact
-.Nm portmap
+.Nm
on the server machine to determine
the port number where
.Tn RPC
@@ -80,23 +81,23 @@ must be started before any
servers are invoked.
.Pp
Normally
-.Nm portmap
+.Nm
forks and dissociates itself from the terminal
like any other daemon.
.Nm Portmap
then logs errors using
.Xr syslog 3 .
.Pp
-Option available:
-.Bl -tag -width Ds
+The following options are available:
+.Bl -tag -width indent
.It Fl d
-(debug) prevents
-.Nm portmap
+Prevent
+.Nm
from running as a daemon,
and causes errors and debugging information
to be printed to the standard error output.
.It Fl v
-(verbose) enable verbose logging access control checks.
+Enable verbose logging access control checks.
.El
.Sh SEE ALSO
.Xr inetd.conf 5 ,
@@ -104,7 +105,7 @@ to be printed to the standard error output.
.Xr rpcinfo 8
.Sh BUGS
If
-.Nm portmap
+.Nm
crashes, all servers must be restarted.
.Sh HISTORY
The
OpenPOWER on IntegriCloud