From owner-freebsd-current@FreeBSD.ORG Thu Jan 15 22:47:32 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E661310657E9; Thu, 15 Jan 2009 22:47:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6488FC0C; Thu, 15 Jan 2009 22:47:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id A59F946B0C; Thu, 15 Jan 2009 17:47:24 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n0FMkttJ004922; Thu, 15 Jan 2009 17:47:18 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: obrien@freebsd.org Date: Thu, 15 Jan 2009 17:02:19 -0500 User-Agent: KMail/1.9.7 References: <1d6d20bc0811260656t101ddb0eu35296ac973c6ba10@mail.gmail.com> <200812041438.27992.jhb@freebsd.org> <20081230172135.GA19046@dragon.NUXI.org> In-Reply-To: <20081230172135.GA19046@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901151702.19829.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 15 Jan 2009 17:47:18 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/8870/Thu Jan 15 15:57:00 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-current@freebsd.org, Robert Watson , Jia-Shiun Li , Marius Strobl Subject: Re: if_le unit number change? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 22:47:35 -0000 On Tuesday 30 December 2008 12:21:35 pm David O'Brien wrote: > On Thu, Dec 04, 2008 at 02:38:27PM -0500, John Baldwin wrote: > > I tend to trim my /boot/device.hints to remove hints for devices that > > aren't in my machines. However, with 8.0, if you leave the bogus hints > > around you won't be hurt and the device will stay as 'le1' so long as > > you don't remove the 'le0' hints, so if you never edit your > > /boot/device.hints it will just be called le1 forever. > > I dare say 99% of folks don't touch /boot/device.hints - and given this > is somewhat of a regression for VMware using folks (and they cannot share > /etc/rc.conf any longer), what should we do? > > 1. Comment out the hint - figuring it isn't really needed in 8.0? It might be worth it to pair down the default device.hints a good bit to only list PnPBIOS type devices (e.g. sio/uart, ppc, syscons, psm, atkbd) and not list ISA cards. > 2. Hack things so that 'le' is treated as before with the trip thru > acpi(4)? That basically requires backing out the entire patch. One of the fundamental changes that the entire change relies on is that hints now reserve device names. -- John Baldwin