freebsd-skq/sbin
Ian Dowse fef7dd5a5f When nfsd was started with only UDP servers, the master nfsd would
spin in a loop eating CPU time. This bug has existed since the
TI-RPC import. The problem is that we should only enter the select
loop if at least one TCP server was started.  Fix this by having
the master nfsd become a UDP server itself if there are no TCP
servers.

Also improve/correct the code for cleaning up slave nfsd processes
and unregistering with rpcbind when the master nfsd exits.

One issue that remains open is that if a slave nfsd dies, then all
nfsds will shut down. This is because nfssvc() in the master nfsd
returns 0 when the master nfsd receives a SIGCHLD.

Submitted by:	tmm
2001-10-16 21:55:53 +00:00
..
adjkerntz Fix a prototype and set WARNS=2. 2001-07-15 05:41:57 +00:00
atacontrol Update to reflect the change in ata.h 2001-10-07 07:48:12 +00:00
atm Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
badsect Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
bsdlabel -r is implied with -B. 2001-10-10 16:26:56 +00:00
camcontrol mdoc(7) police: replace \*(Ba' with a simple |', it's handled specially. 2001-08-16 11:09:00 +00:00
ccdconfig Removed -M and -N from getopt(3) call as well. 2001-09-11 09:49:36 +00:00
clri Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
comcontrol mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
cxconfig mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
dhclient beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
disklabel -r is implied with -B. 2001-10-10 16:26:56 +00:00
dmesg mdoc(7) police: compute the exact tag width. 2001-08-10 10:09:00 +00:00
dump SECURITY. 2001-09-05 15:37:01 +00:00
dumpfs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
dumpon Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fdisk Fixed spelling error in previous commit. 2001-10-16 10:52:12 +00:00
fdisk_pc98 mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
ffsinfo Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
fsck mdoc(7) police: Fixed broken xrefs. 2001-08-22 14:16:31 +00:00
fsck_ffs Silence non-constant format string warnings by marking functions 2001-08-19 08:19:37 +00:00
fsck_ifs Silence non-constant format string warnings by marking functions 2001-08-19 08:19:37 +00:00
fsck_msdosfs Document "-F". 2001-07-19 17:06:19 +00:00
fsdb *** empty log message *** 2001-10-01 08:43:58 +00:00
fsirand - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
growfs Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
i386 Fixed spelling error in previous commit. 2001-10-16 10:52:12 +00:00
ifconfig o Reduce userland inclusion of kernel headers -- remove unneeded include 2001-09-24 15:00:16 +00:00
init Allow reboot during runcom. 2001-10-15 20:34:43 +00:00
ip6fw mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ipf Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipfstat IPFilter source code in contrib/ipfilter apparently can't make up its mind 2001-09-03 16:37:16 +00:00
ipfw Repair typo. 2001-10-14 22:46:05 +00:00
ipmon Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
ipnat Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
kget Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
kldconfig This is actually making its enterance in FreeBSD 4.4. 2001-08-01 05:53:12 +00:00
kldload Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
kldstat Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
kldunload mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ldconfig mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
md5 mdoc(7) police: removed hard sentence breaks. 2001-09-04 09:28:48 +00:00
mdconfig mdoc(7) police: removed (now gratuitous) .Xo/.Xc brackets. 2001-08-10 10:41:30 +00:00
mdmfs Enable bug-for-bug compatibility with mount_mfs when the program 2001-09-30 15:14:16 +00:00
mknod Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount <mntopts.h> -> "mntopts.h" in SYNOPSIS. 2001-10-04 13:11:11 +00:00
mount_cd9660 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_ext2fs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_hpfs Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
mount_ifs Nuke unused variables. 2001-06-24 23:31:07 +00:00
mount_msdosfs Add KOI8-U tables 2001-07-28 20:50:21 +00:00
mount_nfs Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
mount_ntfs mdoc(7) police: markup nits, improve -W option text, 2001-09-11 09:57:31 +00:00
mount_nullfs Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
mount_nwfs mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
mount_portalfs Hopefully improve control message passing over Unix domain sockets. 2001-10-04 13:11:48 +00:00
mount_std Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_umapfs Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
mount_unionfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mountd Deal with module name changes and autoloading. 2001-09-20 02:15:17 +00:00
natd mdoc(7) police: 2001-08-07 15:48:51 +00:00
newfs Document the optimal block:fragment ratio, per discussion 2001-10-15 22:47:55 +00:00
newfs_msdos mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
nextboot Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nfsd When nfsd was started with only UDP servers, the master nfsd would 2001-10-16 21:55:53 +00:00
nfsiod mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nos-tun s/adress/address/ 2001-07-23 12:05:27 +00:00
pc98 mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
ping The -A option (beep when packets are dropped) didn't work quite 2001-09-25 20:22:33 +00:00
ping6 Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
quotacheck Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
rcorder Import the NetBSD 1.5 RC system. 2001-06-16 07:16:14 +00:00
reboot Use ${MACHINE}, it works with cross-builds. 2001-09-12 12:21:08 +00:00
restore Documentation fixes: 2001-10-02 08:24:37 +00:00
route Synch with NetBSD and OpenBSD. 2001-08-31 12:31:09 +00:00
routed ftrace is already initialized 2001-08-13 21:56:09 +00:00
rtsol Sync with recent KAME. 2001-06-11 12:39:29 +00:00
savecore Remove some bogus "(off_t)(dumplo + value)" and "(off_t)dumplo" casts, 2001-10-05 03:13:13 +00:00
setkey mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
shutdown Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
slattach Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
spppcontrol Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
startslip mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
swapon Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
sysctl Document the deprecated `-w' option in the COMPATIBILITY section. 2001-08-02 12:38:23 +00:00
tunefs Don't require that the special/filesystem argument translates into 2001-09-30 14:57:08 +00:00
umount Oops, fix a missing condition that broke umount's `-h' option. I 2001-10-13 02:04:54 +00:00
vinum Reinstate VINUMDEBUG. Removing it also removes some diagnostic commands. 2001-10-15 01:32:48 +00:00
Makefile Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00