Is /boot/device.hints required if kernel is built with hints?

2006-09-22 Thread Anton Shterenlikht
I was trying to build a kernel with statical device hints by
uncommenting the following line in my kernel configuration file:

# To statically compile in device wiring instead of /boot/device.hints
hints   VT.hints  # Default places to look for devices.

Before doing this I moved /boot/device.hints to another location.

when I do #make install I get

You must set up a /boot/device.hints file first.
*** Error code 1

Stop in /usr/src/sys/i386/compile/VT.

Why do I need /boot/device.hints if I have the hints in the kernel?

thanks
anton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is /boot/device.hints required if kernel is built with hints?

2006-09-22 Thread Kris Kennaway
On Fri, Sep 22, 2006 at 03:59:45PM +0100, Anton Shterenlikht wrote:
 I was trying to build a kernel with statical device hints by
 uncommenting the following line in my kernel configuration file:
 
 # To statically compile in device wiring instead of /boot/device.hints
 hints VT.hints  # Default places to look for devices.
 
 Before doing this I moved /boot/device.hints to another location.
 
 when I do #make install I get
 
 You must set up a /boot/device.hints file first.
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/VT.
 
 Why do I need /boot/device.hints if I have the hints in the kernel?

You don't, but the test doesn't check whether it's compiled in to the
kernel.  Just make an empty file.

Kris


pgplIMBx8cIPp.pgp
Description: PGP signature