From 7cbd4b199f783e1ae9aaa1d3904e2700dbfcf48d Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 7 Aug 2006 16:37:13 +1000 Subject: "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. --- utils/nfsd/nfsd.man | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'utils/nfsd') 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 -.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), -- cgit