From owner-freebsd-current@FreeBSD.ORG Sat Oct 27 17:42:06 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C30F16A41B; Sat, 27 Oct 2007 17:42:06 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id CFA7A13C4B2; Sat, 27 Oct 2007 17:42:05 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (eqpkisbj34zy9rmr@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l9RHg5Lu057982; Sat, 27 Oct 2007 10:42:05 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l9RHg5Jl057981; Sat, 27 Oct 2007 10:42:05 -0700 (PDT) (envelope-from jmg) Date: Sat, 27 Oct 2007 10:42:05 -0700 From: John-Mark Gurney To: John Baldwin Message-ID: <20071027174205.GK39759@funkthat.com> Mail-Followup-To: John Baldwin , current@freebsd.org References: <200710111741.34992.jhb@FreeBSD.org> <200710151216.36509.jhb@freebsd.org> <3E7A944C-6182-41A1-8881-C4B94428B65A@mac.com> <200710151510.35000.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710151510.35000.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hydrogen.funkthat.com [127.0.0.1]); Sat, 27 Oct 2007 10:42:05 -0700 (PDT) Cc: current@freebsd.org Subject: Re: New-bus unit wiring via hints.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 17:42:06 -0000 John Baldwin wrote this message on Mon, Oct 15, 2007 at 15:10 -0400: > > >>> If you want the configuration file separate from the kernel, then > > >>> what do you > > >>> consider /boot/device.hints to be? > > >> > > >> Non-existent. > > > > > > Ok, let's try this again. You said you want a configuration file > > > separate > > > from the kernel. We have one now in the form of /boot/device.hints. > > > > I said: > > "I would rather see us go in the direction of having the kernel > > maintain a configuration file." > > > > /boot/device.hints is not maintained by the kernel. > > Hmm, ok. So are you thinking of a registry ala Windows to remember previous > bindings? /dev/ (what Windows does) probably > wouldn't be considered usable by most folks, so you'd have to make aliases, > but then you are back to how do "wire" the aliases? And how should the > kernel figure out which devices are console devices? Yeh, I know I'm a bit behind in my -current mail but... I would like to say that this sounds good... I haven't had a chance to read the patch, but I think I told Warner a long time ago, that if we did grow support for hinting pci devices and the like, that I would write a boot -r (Solaris) like function for FreeBSD so that when new hardware was added, it would not suddenly ruin your configuration by moving your existing em0 to em1 and the new em card you added is now em0... I believe that the hints is the correct thing, Marcel never answered how to ensure ACPI kept sio0 as COM1, and he could always remove the hints if he feels like it, but the rest of us can keep the hints so we know where it is... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."