From owner-cvs-src@FreeBSD.ORG Tue Feb 17 16:00:50 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56A5516A4CE; Tue, 17 Feb 2004 16:00:50 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BF3043D1D; Tue, 17 Feb 2004 16:00:49 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i1I00kkX052496; Tue, 17 Feb 2004 16:00:46 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <4032AB2D.60008@acm.org> Date: Tue, 17 Feb 2004 16:00:45 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: obrien@FreeBSD.org References: <20040217203852.724BE16A567@hub.freebsd.org> <20040217125043.N30568@root.org> <20040217215309.GA31288@dragon.nuxi.com> <20040217143034.B31176@root.org> <20040217230348.GB31288@dragon.nuxi.com> In-Reply-To: <20040217230348.GB31288@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Wes Peters cc: cvs-all@FreeBSD.org cc: Nate Lawson Subject: Re: cvs commit: src/share/man/man4 acpi.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 00:00:50 -0000 David O'Brien wrote: > On Tue, Feb 17, 2004 at 02:32:26PM -0800, Nate Lawson wrote: >> >>I meant the step in UPGRADING that says "cp GENERIC.hints >>/boot/device.hints". If people follow that, you lose local changes to >>hints. > > I think it is clear that one only does the 'cp' if they are upgrading > from 4.x to 5.x. I'm not arguing that the knob isn't better living in > loader.conf -- just that /boot/devince.hints isn't a [auto]generated > file[*] and we can assume it is as "stable" as one's passwd file. > > -- David > [*] I can't even boot w/o my custom device.hints due to the hardwiring I > do for SCSI devices. This file cannot become volatile. Seems like it might be time to evaluate ways to separate the "default hints" from the "custom hints". /boot/defaults/device.hints, anyone? Then the default hints can be auto-updated while allowing people to preserve their local configurations. Personally, I've never needed to customize device.hints and would rather it just get auto-updated. I've also been doing virgin installs from source lately, and find the check-and-abort if device.hints is missing to be very, very annoying. Can anyone explain why 'make installkernel' should not just install a device.hints file if there isn't one already? (I presume there's a good reason for this.) While we're at it, I would suggest that 'cd etc && make distribution' create a blank fstab if there isn't one already. FreeBSD currently refuses to boot without an fstab, but will boot with an empty fstab. With those two changes, you could create a bootable system with just make DESTDIR=foo installworld installkernel cd etc && make DESTDIR=foo distribution Tim Kientzle