From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 20:52:39 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 87CD3106564A for ; Wed, 11 Feb 2009 20:52:39 +0000 (UTC) (envelope-from buganini@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 1DE5E8FC18 for ; Wed, 11 Feb 2009 20:52:38 +0000 (UTC) (envelope-from buganini@gmail.com) Received: by fk-out-0910.google.com with SMTP id f40so201734fka.11 for ; Wed, 11 Feb 2009 12:52:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=F8v0hpsW/IgNmIUEeAcWFgzdU0avWa60aQOI+fDbKKc=; b=SX3l/XYLNqTts2UuQfgO4ms3vexIy6ZABAfdZO3pJreULtAlGm886UQq0R3hTWja6G /tbkwrCR+yIQbGQV8fzSGPAacJN0CmVj+Hnhc5ayiUsUBowS5pF91r0sSw3Wc+OiYbt5 WEOgBja3uQNt30CdjCyPONDXSdFBJUyVIoykw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=BFr+03qlZogL4Gp9pmZGnxmBbWkaOkXm46y+QjSmd/HrqcxbXPHooYGb5Bg4GYpT63 U5Ci23qq2mjn/3j78Da1HtsE5LBu8Un9C8mdxXBE8WN3dSu8F4UsWGEW02Nbvrlo7EuH ydQhkm2TP2l2JtbK1jjb8eGXbnAsNG/zb02cM= MIME-Version: 1.0 Received: by 10.103.198.20 with SMTP id a20mr18533muq.63.1234384281167; Wed, 11 Feb 2009 12:31:21 -0800 (PST) Date: Thu, 12 Feb 2009 04:31:21 +0800 Message-ID: From: Buganini To: current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: 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 20:52:39 -0000 (on i386 or amd64) I think it would be good to modularize kernconf. Now my kernconf include GENERIC, then add things I need, but I need to nodevice/nooptions many things I dont want. Maybe we can split GENERIC into several parts, the first parts is things before "device fdc" and atkbc, syscons, power sections. The others could be only one part or seperated to parts like SCSI, NIC, WIRELESS, USB...etc. 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?