At 4:04 PM -0700 10/10/01, Peter Wemm wrote: >Warner Losh wrote: >> In message <[EMAIL PROTECTED]> "Crist J. >>Clark" writes: >> : I think just running 'installworld' twice will "fix" it. The error is >> : non-fatal, but not without implications. The only one that I am aware >> : of is that your system might have some trouble doing kldload(8) unless >> : it is given the full path of the module. >> >> Ummm, installworld N times won't fix things because the modules are >> are installed as part of installkernel. >> >> This is a database that should be rebuilt at boot time too. > >Absolutely. Any takers for a /etc/rc patch to break apart sysctl >kern.module_path by the ';' and do a ldconfig refresh at boot after the >filesystems are mounted? In theory we just need the / filesystem >read/write.
Something like this? script_save_sep=$IFS IFS=";" for modpath in `sysctl -n kern.module_path`; do if [ -d $modpath ]; then kldxref $modpath fi done IFS="$script_save_sep" I would have provided a patch to /etc/rc but I didn't know when you would want it executed. Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message