From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NAepL-0004IQ-Bj for garchives@archives.gentoo.org; Wed, 18 Nov 2009 07:19:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6C78E0899; Wed, 18 Nov 2009 07:19:17 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.148]) by pigeon.gentoo.org (Postfix) with ESMTP id 6D9DAE0899 for ; Wed, 18 Nov 2009 07:19:17 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 3so209683eyh.40 for ; Tue, 17 Nov 2009 23:19:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=IaH5koVp5oJdGIGbYMZkUugmKjQ0JZ8YZEKlUnO3AYs=; b=eE6YxJ0ALjStC/4o21mDb2Mv9dCzY/Niq3zD852nKA0tyelgYu2bGY7XaSP2CvwJPV hHOOWPsqcilAsha4B7LIXzlrSsIKxFmXlp4gJjZyNQ4SINQcjqiwSl5gbMPzlUGOMgHc Wz6d6TIbBl1XxIyZDgcYJFCQSI9IrOsXJ4x5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=D+bnzBPZKn+WQoPRVWW2pi4pXBfL0NSH4ZYv0q8bcggEFsqye5Ji91to/8pv6NIgxY uweiWFmQyd3qutSrJxk/M83ESzS0WUrkZuSRlSf/dIFXIVm0RnuSZJG/ULkFFh/FQMPN Ue9c/mdYmebUOEzu7nSVQPxm6zoWOBSpY92sk= Received: by 10.213.23.155 with SMTP id r27mr70756ebb.62.1258528756920; Tue, 17 Nov 2009 23:19:16 -0800 (PST) Received: from nazgul.localnet (dustpuppy.is.co.za [196.14.169.11]) by mx.google.com with ESMTPS id 10sm1047882eyd.15.2009.11.17.23.19.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 23:19:16 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: decrapify your kernel config Date: Wed, 18 Nov 2009 09:18:14 +0200 User-Agent: KMail/1.12.90 (Linux/2.6.31-zen8; KDE/4.3.75; x86_64; ; ) References: <39CFC182-B039-4D26-9880-DC26485DF8F2@stellar.eclipse.co.uk> <200911080110.37891.volkerarmin@googlemail.com> <4B032EB4.5010802@xunil.at> In-Reply-To: <4B032EB4.5010802@xunil.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911180918.14880.alan.mckinnon@gmail.com> X-Archives-Salt: 00f22790-e05e-490d-b9c8-57afc6719635 X-Archives-Hash: 6a4e7eadca61dbc58e528db0fcc90f29 On Wednesday 18 November 2009 01:16:04 Stefan G. Weichinger wrote: > Volker Armin Hemmann schrieb: > > Namespaces - you don't need it? Kick 'em out. > > hmm, interesting ... ;-) > > for sure I also want to decrapify my kernel-config ... > > To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct? > > This is rather counterintuitive to me, as my main workstation is far > from an embedded or small system (ok, not compared to the > 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for > example, my embedded ALIX-PC I use as fw/router/something ...). > > So you suggest I set CONFIG_EMBEDDED=y and in turn get several new > options/defaults to choose and get right or wrong ... ? > > ;-) > > I am quite sure to have at least *some* crap in my config as I tend to > always do something like > > zcat /proc/config.gz >> /usr/src/linux-new-shiny-version/.config > make oldconfig > > .... > > This gives me expected results and a "it boots OK" experience, getting > rid of unused crap is another issue, yes. > > I wonder which EMBEDDED options would help me ... Likely none of them. The embedded menu is the most counter-intuitive thing in the whole kernel config. It does not supply a list of things you may enable, instead it activates a menu that allows you to switch stuff OFF that is normally ON. The rationale is that embedded devices need to get by on a very slim kernel and with some magic trickery they can successfully disable some features that are usually considered perfectly normal for regular desktop use. For example: CONFIG_HOTPLUG. It's unthinkable to remove this for a desktop, but does your TomTom need it? Does a GPS even have hotplug facilities? How about ADSL router/modems? To disable namespace, enable embedded, leave everything on, and you will find you can now disable namespaces. -- alan dot mckinnon at gmail dot com