RFC: make the experimental NFS subsystem the default one

Rick Macklem rmacklem at uoguelph.ca
Thu May 5 01:30:18 UTC 2011


> Rick Macklem <rmacklem at uoguelph.ca> writes:
> > "Dag-Erling Smørgrav" <des at des.no> writes:
> > > interface oldnfs.1 already present in the KLD 'kernel'!
> > > /etc/rc: WARNING: Unable to load kernel module nfsclient
> > Ok, I'll need to look at this. At a glance, I see a load_kld,
> > but that won't get upset if it's already loaded. (It does need
> > to be fixed, though, since it refers to nfsclient as the module
> > for "nfs" instead of nfscl.)
> 
> This comes from mountcritremote:
> 
> case "`mount -d -a -t nfs 2> /dev/null`" in
> *mount_nfs*)
> # Handle absent nfs client support
> load_kld -m nfs nfsclient || return 1
> ;;
> esac
> 
> mount(8) will print "mount_oldnfs" instead of "mount_nfs". Note that
> until you flipped the switch, the exact same error would occur, in
> reverse, on systems running the new stack.
> 
Testing here, it seems that none of the NFS specific stuff is needed
in mountcritremote (as hinted by the comment). You can try the version
without the NFS specific stuff if you'd like.
It's in:
   http://people.freebsd.org/~rmacklem/rc.conf

along with the other modified/added scripts.

rick


More information about the freebsd-fs mailing list