From owner-freebsd-current Mon Aug 28 3: 1:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from scully.zoominternet.net (scully.zoominternet.net [63.67.120.3]) by hub.freebsd.org (Postfix) with SMTP id F225F37B423 for ; Mon, 28 Aug 2000 03:01:39 -0700 (PDT) Received: (qmail 9309 invoked from network); 28 Aug 2000 10:01:39 -0000 Received: from acs-24-154-11-41.zoominternet.net (HELO cvzoom.net) (24.154.11.41) by scully.zoominternet.net with SMTP; 28 Aug 2000 10:01:39 -0000 Message-ID: <39AA3882.914FC0A0@cvzoom.net> Date: Mon, 28 Aug 2000 06:01:38 -0400 From: Donn Miller X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Meyer Cc: Brooks Davis , current@FreeBSD.ORG Subject: Re: hints static wiring References: <867l92lw8e.wl@tkc.att.ne.jp> <20000827184037.A22500@Odin.AC.HMC.Edu> <14762.8323.382969.782508@guru.mired.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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