NFS client script changes for review
Rick Macklem
rmacklem at uoguelph.ca
Thu May 5 01:30:34 UTC 2011
Hi,
I put some modified rc scripts and diffs at:
http://people.freebsd.org/~rmacklem/rc.conf
Basically, it doesn't seem that any of the nfs
specific stuff in mountcritremote is needed anymore
(at least when I test here with a kernel built
without any NFS options, so the clients have to
load as modules).
If getting rid of the stuff seems too risky (or
someone thinks that it's still needed), it can be
fixed to work by just replacing "load_kld -m nfs nfsclient"
with "load_kld -m nfs nfscl", since the module name
is now "nfscl".
I changed the "vfs.nfs." sysctl names in nfsclient
to "vfs.newnfs." and created a clone of nfsclient called
oldnfsclient for the old one.
That, plus changing a couple of lines in
/etc/defaults/rc.conf seems to make things work ok,
but, as you know, I'm not a shell programmer.
rick
More information about the freebsd-rc
mailing list