rc scripts change for review

Kostik Belousov kostikbel at gmail.com
Sun Apr 24 12:24:33 UTC 2011


On Sun, Apr 24, 2011 at 08:05:04AM -0400, Rick Macklem wrote:
> One possible explanation here (and it may be that I haven't set the
> modules/sysctl stuff up correctly?) is that the "nfsd" module depends
> on the module "nfscommon" (which is loaded when nfsd is loaded, because
> of a MODULE_DEPEND() in "nfsd"). The SYSCTL_NODE() is in "nfscommon".
> I only have a SYSCTL_DECL() in "nfsd". (ie. maybe kldload doesn't wait
> for "nfscommon" to be loaded.)
> 
> I just tried:
> load_kld nfscommon
> load_kld nfsd
> - and this works without needing "nfssrv"
> 
> I'm not sure if the above implies a bug in either my server code or
> the module loading/sysctl registering stuff, but I'm confortable with
> doing the 2 load_kld's.

Dependencies are loaded synchronously too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20110424/ed3b22c6/attachment.pgp


More information about the freebsd-rc mailing list