From owner-freebsd-stable@FreeBSD.ORG Thu Dec 15 22:03:32 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FC1A16A420; Thu, 15 Dec 2005 22:03:32 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from skippyii.compar.com (ns1.compar.com [216.208.38.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A737B43D95; Thu, 15 Dec 2005 22:03:25 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from hermes (CPE00062566c7bb-CM0011e6ede298.cpe.net.cable.rogers.com [70.28.254.189]) by skippyii.compar.com (8.13.1/8.13.1) with ESMTP id jBFM4gUh035749; Thu, 15 Dec 2005 17:04:48 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <001f01c601c3$7ba43f50$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "John Baldwin" References: <002d01c601b9$206f9940$1200a8c0@gsicomp.on.ca> <200512151609.58744.jhb@freebsd.org> Date: Thu, 15 Dec 2005 17:04:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: Scott Long , freebsd-stable@freebsd.org Subject: Re: GENERIC and DEFAULTS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 22:03:32 -0000 > On Thursday 15 December 2005 03:49 pm, Matt Emmerton wrote: > > I know this has been discussed ad nauseum, but here's my $0.02: > > > > Why not mark these entries as 'mandatory' in /usr/src/sys/conf/files* > > instead? > > This will cause config to error out if they are not specified in the > > config, and handles the common case (normal users). > > . > > For those power users who really want to disable the devices, we should > > smarten up the nodevice handling in config(8) to that (nodevice && > > mandatory) is not an error. > > What happens when you mark some of the files for a device mandatory but not > others? How do you make an option that isn't listed in sys/conf/files > mandatory? After considering these questions and several others, the > conclusion was reached that it was a lot simpler and less error prone to use > the same format for defaulting options on or devices on that we use to turn > them on in the first place: i.e. a config file. If it really gets peoples > panties all up in wads we can move the defaults files to /sys/conf (e.g. > sys/conf/DEFAULTS.i386 or even sys/conf/defaults.i386). Points taken; moving to private e-mail and/or -current for more in-depth discussion. -- Matt Emmerton