"Crist J. Clark" wrote: > > --C7zPtVaVf+AK4Oqc > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > Perhaps it would be a good idea to build a linker.hints file with > kldxref(8) at boot time. At least, I can't think of any really good > reasons why _not_ to do it.
Yes, we need to do this, but your patch needs a little more work. Specifically.. There is a linker.hints file in each directory in the module path, not just /boot/kernel. You need to look at the kern.module_path sysctl to find the search path. [EMAIL PROTECTED]:26pm]~-101> sysctl -n kern.module_path /boot/kernel;/boot/kernel;/boot/modules;/modules This also needs to be robust in the case where /boot might be another file system or readonly or NFSROOT or not even mounted, or something. But this has needed attention for quite a while. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message