Date: Sat, 9 Dec 1995 22:28:09 -0600 (CST) From: Jason Mechler <jasonm@raptor.mtc.ti.com> To: freebsd-bugs@FreeBSD.org Subject: nfs client bug in /etc/rc Message-ID: <199512100428.WAA09693@raptor.mtc.ti.com>
index | next in thread | raw e-mail
I discovered an error in /etc/rc relating to mounting nfs filesystems
at boot time. The line
mount -a -t nfs >/dev/null 2>&1
comes immediately after /etc/netstart is run. Unfortunately, this is
before the nfsiod daemon is started, so if there are any nfs
filesystems in /etc/fstab, the systems hang for a while and then
finally gets an RPC Portmapper error when trying to do the nfs mounts.
It's certainly easy to fix. You just have to move the above line into
the nfs_client section as below.
if [ "X${nfs_client}" = X"YES" ]; then
echo -n ' nfsiod'; nfsiod -n 4
new--> mount -a -t nfs >/dev/null 2>&1
fi
-------------
Jason Mechler
jasonm@ccwf.cc.utexas.edu
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512100428.WAA09693>
