From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: Sanjeev Aditya Naga <sanjeev.kernel@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: config file part of kernel!
Date: Tue, 22 Apr 2008 09:58:44 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0804220956390.4897@shark.he.net> (raw)
In-Reply-To: <5681ec900804220953g187b792eib424c7af4cd3df4f@mail.gmail.com>
On Tue, 22 Apr 2008, Sanjeev Aditya Naga wrote:
> Hi,
>
> Will it be good, if we make the `config` file (used to
> build a kernel) part of the built kernel. So that one in
> need, can extract it from the kernel using some
> userspace tool!?
>
> During the configuration of kernel, we usually set
> the required functionality. However, if we delete the
> sources/config file or loose the config file, but later
> we wanted to add up some module(s) to the same
> kernel, it'd be great if we will be able to extract some
> info from the kernel along with the config params!??
This is already possible.
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
The former includes the config file in the kernel image.
The latter one puts it into /proc/config.gz as well.
--
~Randy
next prev parent reply other threads:[~2008-04-22 16:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 16:53 Sanjeev Aditya Naga
2008-04-22 16:58 ` Randy.Dunlap [this message]
2008-04-22 17:00 ` Dan Noe
2008-04-22 19:03 ` Jan Engelhardt
2008-04-22 20:13 ` Rene Herman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0804220956390.4897@shark.he.net \
--to=rdunlap@xenotime.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sanjeev.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®