From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 23:20:49 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 CC852106564A for ; Wed, 11 Feb 2009 23:20:49 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (d80.iso100.no [81.175.61.195]) by mx1.freebsd.org (Postfix) with ESMTP id 882668FC13 for ; Wed, 11 Feb 2009 23:20:49 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from [192.168.4.8] (varnish.stillbilde.net [192.168.4.8]) (Authenticated sender: svein) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id EB17B39; Wed, 11 Feb 2009 23:01:40 +0000 (UTC) Message-ID: <49935993.50303@stillbilde.net> Date: Thu, 12 Feb 2009 00:04:51 +0100 From: "Svein Skogen (listmail account)" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Chuck Swiger References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Buganini , 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 23:20:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck Swiger wrote: > 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, Can the kernel file (that contains the include directive) contain an opposite of the option and device, such as no_option or no_device? //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg Østli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmTWZMACgkQODUnwSLUlKQBMQCgqPnymLv06QkHnqieoms0fg1Q twAAoICQrkQGusjghbkmPSCDwMMbH7I9 =rp5Y -----END PGP SIGNATURE-----