public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: davidsen@tmr.com (bill davidsen)
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.5] Extract configuration from kernel
Date: 3 Dec 2002 13:41:43 GMT	[thread overview]
Message-ID: <asican$58p$1@gatekeeper.tmr.com> (raw)
In-Reply-To: E18Ixu4-0007zZ-00@lyra.fc.hp.com

In article <E18Ixu4-0007zZ-00@lyra.fc.hp.com>,
Khalid Aziz  <khalid@fc.hp.com> wrote:
| I am including a patch for 2.5.50 that allows a user to embed kernel
| configuration in the kernel and retrieve it later either from a running
| kernel or from the kernel image file. This is an enhancement to Randy's
| patch that was discussed on LKML before and is part of -ac series
| kernels. 
| 
| This patch provides three choices for embedding kernel configuration:
| 
| 1. Include configuration in running kernel image. This adds to the
| footprint of the running kernel but allows configuration to be retrieved
| using "cat /proc/ikconfig/config".
| 
| 2. Include configuration in kernel image file but not in the running
| kernel. This adds to the kernel image file size but not the footprint of
| running kernel. Configuration can be extracted from kernel image file
| using scripts/extract-ikconfig. This script is in principle the same as
| what Randy had written originally. I have made it little more robust and
| structured it to accomodate more than just x86 architecture.
| 
| 3. Not include kernel configuration in the running kernel or kernel
| image file. 

I would suggest that making (2) available as a module would be useful,
assuming that at some point 2.5 will have working module capability
again. With a bit of tweaking you could make the kernel loader pull it
in if a process accessed the file, I guess.
-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

  reply	other threads:[~2002-12-03 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 21:14 [PATCH 2.5] Extract configuration from kernel Khalid Aziz
2002-12-03 13:41 ` bill davidsen [this message]
2002-12-03 16:58   ` Khalid Aziz
2002-12-03 19:20     ` Bill Davidsen

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='asican$58p$1@gatekeeper.tmr.com' \
    --to=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    /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