From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 22:01:27 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46CF61065674 for ; Wed, 11 Feb 2009 22:01:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 33D5B8FC17 for ; Wed, 11 Feb 2009 22:01:27 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KEX005976E4QP50@asmtp019.mac.com> for current@freebsd.org; Wed, 11 Feb 2009 13:01:16 -0800 (PST) Message-id: From: Chuck Swiger To: Buganini In-reply-to: Date: Wed, 11 Feb 2009 13:01:15 -0800 References: X-Mailer: Apple Mail (2.930.3) Cc: current@freebsd.org Subject: Re: modular kernconf 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: Wed, 11 Feb 2009 22:01:27 -0000 On Feb 11, 2009, at 12:31 PM, Buganini wrote: [ ... ] > This way I can customize my kernconf cleanly and easily. > Like today I want to try USB2, I just change the GENERIC to USB2, then > I got what I want. > > I dont like to make a replica GENERIC then modify it, > because sometimes options in the SCHED section changes, > and in this case, if I want to try USB2, things become dirty. > > Or any better ideas? You should look into the way the include directive is used for the SMP and PAE kernels (ie, /usr/src/sys/i386/conf/SMP). You can make specific changes to GENERIC to enable or disable things without having to roll an entire kernel config file.... Regards, -- -Chuck