From owner-freebsd-current Tue Jun 20 23:20:14 2000 Delivered-To: freebsd-current@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id 3EC4337BA5A for ; Tue, 20 Jun 2000 23:20:09 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 320152DC0A; Wed, 21 Jun 2000 08:26:09 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id 614B07817; Wed, 21 Jun 2000 08:17:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 5293410E17; Wed, 21 Jun 2000 08:17:33 +0200 (CEST) Date: Wed, 21 Jun 2000 08:17:33 +0200 (CEST) From: Andrzej Bialecki To: "Daniel C. Sobral" Cc: Peter Wemm , current@FreeBSD.ORG Subject: Re: HEADS UP!: config changes... In-Reply-To: <395041F3.A8FF6965@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 21 Jun 2000, Daniel C. Sobral wrote: > Andrzej Bialecki wrote: > > > > This thread is long, so maybe I missed something.. Can we have the *.hints > > file loadable as a module of some special type (like kernel.conf), and > > searched for during configuration like userconfig did? > > Funny you got no reply. At last some merciful soul.. Thank you! :-) > > This is not necessary. If you copy said file to /boot/device.hints, it > will be read automatically as a loader .conf file and set environment > variables that will be read automatically by the kernel. > > If you wish to use alternate configurations without tweaking > device.hints, you can do > > loader_conf_files="xyzzy" > > And xyzzy will be read. Since device.hints is read right after > /boot/defaults/loader.conf, anything later will override it's values. That's fine. However, this practically makes using /boot/loader mandatory. I still wonder if having some in-kernel interpreter wouldn't give us more choice, with exactly the same functionality. Of course, it would have to be run before any probing starts... Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message