summaryrefslogtreecommitdiffstats
path: root/utils/nfsd
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-08-07 16:37:13 +1000
committerNeil Brown <neilb@suse.de>2006-08-07 16:37:13 +1000
commit7cbd4b199f783e1ae9aaa1d3904e2700dbfcf48d (patch)
treeb54d35a86a3601494ca5afbfd39a9e24418c7471 /utils/nfsd
parent6a7d90cea7650d4a40816368a61f1541a43d016c (diff)
downloadnfs-utils-7cbd4b199f783e1ae9aaa1d3904e2700dbfcf48d.tar.gz
nfs-utils-7cbd4b199f783e1ae9aaa1d3904e2700dbfcf48d.tar.xz
nfs-utils-7cbd4b199f783e1ae9aaa1d3904e2700dbfcf48d.zip
"rpc.nfsd XX" should not fail if ports are already open.
support/nfs/nfssvc.c: if any ports are already open, don't try to open any more. This means that once nfsd is running rpc.nfsd X will just change the number of threads, not the ports in use.
Diffstat (limited to 'utils/nfsd')
-rw-r--r--utils/nfsd/nfsd.man13
1 files changed, 12 insertions, 1 deletions
diff --git a/utils/nfsd/nfsd.man b/utils/nfsd/nfsd.man
index 4ac709c..3500ae2 100644
--- a/utils/nfsd/nfsd.man
+++ b/utils/nfsd/nfsd.man
@@ -2,7 +2,7 @@
.\" nfsd(8)
.\"
.\" Copyright (C) 1999 Olaf Kirch <okir@monad.swb.de>
-.TH rpc.nfsd 8 "31 May 1999"
+.TH rpc.nfsd 8 "7 Aug 2006"
.SH NAME
rpc.nfsd \- NFS server process
.SH SYNOPSIS
@@ -64,6 +64,17 @@ load created by the NFS clients, but a useful starting point is
the
.BR nfsstat (8)
program.
+.P
+Note that if the NFS server is already running, then the options for
+specifying host, port, and protocol will be ignored. The number of
+processes given will be the only option considered, and the number of
+active
+.B nfsd
+processes will be increased or decreased to match this number.
+In particular
+.B rpc.nfsd 0
+will stop all threads and thus close any open connections.
+
.SH SEE ALSO
.BR rpc.mountd (8),
.BR exportfs (8),