Add the -f option to the rpc.umntall call to reduce boot-time stalls when
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 9 Nov 2003 07:31:29 +0000 (07:31 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 9 Nov 2003 07:31:29 +0000 (07:31 +0000)
commit72067a39cfb7671fb890c2a1d607493d6a6e9b4b
tree15f8507bc35febf75dc45d692db12fc3bd8268e8
parentf6e36adb5d506104688ac733848d7b0d9fd8fdb3
Add the -f option to the rpc.umntall call to reduce boot-time stalls when
remote servers are unreachable.  Add a new rc.conf variable,
rpc_umntall_enable, which defaults to "YES", which may be used to disable
boot-time rpc.umntall operation entirely.

rpc.umntall has caused me headaches ever since it was introduced in FreeBSD
because it could stall a system boot by 60+ seconds per unreachable remote
server in /var/db/mounttab.  This should solve the problem both by reducing
the per-entry stall to around 4-6 seconds, and providing a method by which
the boot-time execution fo the program can be disabled.
etc/defaults/rc.conf
etc/rc.d/nfsclient
share/man/man5/rc.conf.5