summaryrefslogtreecommitdiff
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-04-19 20:23:27 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-04-19 20:23:27 +0000
commitbffe25839cc45341811816e5676623874f1eded0 (patch)
treeb79c468570b8dbd5970de184d052f1e6652fe8ca /usr.sbin/rpcbind
parent7e84e1cb4530aee5872b4b7bb14acb036e0716f8 (diff)
downloadsrc-test2-bffe25839cc45341811816e5676623874f1eded0.tar.gz
src-test2-bffe25839cc45341811816e5676623874f1eded0.zip
rpcbind(8): post-humously document -w (warmstart) support added in r74462
warmstart support saves portmap/rpcbind(8) registration state on exit and restores the saved registration state on restart. MFC after: 7 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=317163
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/rpcbind.824
1 files changed, 23 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.8 b/usr.sbin/rpcbind/rpcbind.8
index e5ec36c4575d..0e05405d9279 100644
--- a/usr.sbin/rpcbind/rpcbind.8
+++ b/usr.sbin/rpcbind/rpcbind.8
@@ -10,7 +10,7 @@
.Nd universal addresses to RPC program number mapper
.Sh SYNOPSIS
.Nm
-.Op Fl 6adiLlsW
+.Op Fl 6adiLlswW
.Op Fl h Ar bindip
.Sh DESCRIPTION
The
@@ -135,6 +135,22 @@ clients from using
to connect to services from a privileged port.
.It Fl W
Enable libwrap (TCP wrappers) support.
+.It Fl w
+Enable the warmstart feature.
+.Pp
+The warmstart feature saves RPC registrations on termination.
+Any saved RPC registrations are restored on restart if
+.Fl w
+is specified.
+This feature helps avoid RPC service interruption when restarting
+.Nm .
+warmstart support must be compiled in to
+.Nm .
+Portmap registrations are stored in
+.Pa /tmp/portmap.file .
+.Nm
+registrations are stored in
+.Pa /tmp/rpcbind.file .
.El
.Sh NOTES
All RPC servers must be restarted if
@@ -142,6 +158,12 @@ All RPC servers must be restarted if
is restarted.
.Sh FILES
.Bl -tag -width /var/run/rpcbind.sock -compact
+.It Pa /tmp/portmap.file
+saved portmap registrations file.
+.It Pa /tmp/rpcbind.file
+saved
+.Nm
+registrations file.
.It Pa /var/run/rpcbind.sock
socket used for local connections.
.El