From owner-freebsd-current Mon Aug 28 5:41:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id EB9BB37B43C for ; Mon, 28 Aug 2000 05:41:09 -0700 (PDT) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.106]) by blizzard.sabbo.net (8.9.1/8.9.3) with ESMTP id PAA09411; Mon, 28 Aug 2000 15:40:44 +0300 (EEST) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.9.3/8.9.3) with ESMTP id PAA33865; Mon, 28 Aug 2000 15:40:44 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39AA5DC6.8D73081B@FreeBSD.org> Date: Mon, 28 Aug 2000 15:40:38 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Mike Meyer Cc: Donn Miller , 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> <39AA3882.914FC0A0@cvzoom.net> <14762.14890.276820.183791@guru.mired.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Meyer wrote: > Donn Miller writes: > > 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. > > In that case, why does the kernel build process fail if it doesn't > exist? Probably because you have `hints "BLABLA.hints"' line in your kernel config file. > > 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. > > Will the system fail to boot if there isn't an empty device.hints > file? No, it will boot, but some devices (like keyboard, console etc) would not work. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message