Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 06:01:38 -0400
From:      Donn Miller <dmmiller@cvzoom.net>
To:        Mike Meyer <mwm@mired.org>
Cc:        Brooks Davis <brooks@one-eyed-alien.net>, current@FreeBSD.ORG
Subject:   Re: hints static wiring
Message-ID:  <39AA3882.914FC0A0@cvzoom.net>
References:  <867l92lw8e.wl@tkc.att.ne.jp> <20000827184037.A22500@Odin.AC.HMC.Edu> <14762.8323.382969.782508@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer wrote:

> I do read cvs-all, and I missed it. Not did I find device.hints in the
> relevant Makefiles. Can you provide a pointer to details on how
> /boot/device.hints is used in the build process, or how having an
> empty one keeps you from shooting yourself in the foot?

Actually, device.hints isn't used in the build process.  Your
KERNEL.hints file is hard-coded into the kernel when your kernel is
built (assuming you use one).  /boot/device.hints is used to override
the "hardcoded" values of hints, KERNEL.hints, at boot time.  Sometimes,
people can make a mistake in KERNEL.hints, and it's necessary to
override those hints with /boot/device.hints.  So, device.hints is
created after-the-fact, and not part of the kernel build.  Of course, if
you don't have any hints to override, then just install an empty
device.hints file.

device.hints is there to save you from rebuilding your kernel every time
you want to change a hint value.

-Donn


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39AA3882.914FC0A0>