From owner-cvs-src@FreeBSD.ORG Tue Feb 17 16:15:28 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 BDA8F16A4D1 for ; Tue, 17 Feb 2004 16:15:28 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 966BB43D2D for ; Tue, 17 Feb 2004 16:15:28 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 31725 invoked by uid 1000); 18 Feb 2004 00:15:30 -0000 Date: Tue, 17 Feb 2004 16:15:30 -0800 (PST) From: Nate Lawson To: Tim Kientzle , wes@freebsd.org In-Reply-To: <4032AB2D.60008@acm.org> Message-ID: <20040217160751.Q31680@root.org> References: <20040217203852.724BE16A567@hub.freebsd.org> <20040217125043.N30568@root.org><20040217143034.B31176@root.org> <20040217230348.GB31288@dragon.nuxi.com> <4032AB2D.60008@acm.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man4 acpi.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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:15:28 -0000 On Tue, 17 Feb 2004, Tim Kientzle wrote: > 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. This is not helpful since my whole point was not to create more places where user overrides go. loader.conf is blank by default, therefore it's an easy place to put overrides for both hints and tunables. Going and creating two separate files that are blank by default only increases confusion. If David chooses to put his custom values in device.hints, he can hand merge his changes in whenever he updates (for example, when a new driver is imported that needs hints and GENERIC.hints is updated). That's his choice. However, since loader.conf works well for overriding hints, there's no reason for us to recommend to users that they do it this way. That was my original point. Wes, please change the man page to point users at loader.conf, not device.hints. Thanks, -Nate