From owner-freebsd-stable@FreeBSD.ORG Thu Dec 15 21:09:49 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 330BC16A41F; Thu, 15 Dec 2005 21:09:49 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8429F43D5F; Thu, 15 Dec 2005 21:09:45 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 3892933 for multiple; Thu, 15 Dec 2005 16:07:36 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jBFL9UMW071872; Thu, 15 Dec 2005 16:09:33 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Matt Emmerton" Date: Thu, 15 Dec 2005 16:09:57 -0500 User-Agent: KMail/1.8.2 References: <002d01c601b9$206f9940$1200a8c0@gsicomp.on.ca> In-Reply-To: <002d01c601b9$206f9940$1200a8c0@gsicomp.on.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512151609.58744.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1210/Thu Dec 15 10:23:22 2005 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 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 21:09:49 -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). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org