Re: [PATCH 2.5] Retrieve configuration information from kernel
Khalid Aziz (khalid_aziz@hp.com)
Tue, 05 Nov 2002 10:27:55 -0700
Chris Friesen wrote:
>
> Khalid Aziz wrote:
> > Paul Clements wrote:
> >
> >>Have you considered compressing the config info in order to reduce
> >>the space wastage in the loaded kernel image? Could easily be 10's of KB
> >>(not that that's a lot these days). The info would then be retrieved via
> >>"gunzip -c", et al. instead of a simple "cat".
> >>
> >
> > I wanted to start with a simple implementation first. There are a couple
> > of things that can be done in future to further improve meory usage: (1)
> > Drop "CONFIG_" and "# CONFIG_" from each line and add it back when
> > printing from /proc/ikconfig and extract-ikconfig script, (2) Compress
> > the resulting configuration. Something to do in near future :)
>
> Do we really need to store the ones that are not actually set to
> something? You'll get a bunch of queries when doing a "make oldconfig",
> but saying N to all of them should just work...after all its the ones
> that are actually *set* that we care about.
>
It is annoying to have to answer a lots of questions when running "make
oldconfig". This also makes your life a little difficult when you are
using the config file from an earlier kernel version to build a newer
kernel. You will get lots of questions to answer including questions for
the new features in the new kernel and you can no longer blindly answer
"N" to every question.
--
Khalid
====================================================================
Khalid Aziz Linux and Open Source Lab
(970)898-9214 Hewlett-Packard
khalid@hp.com Fort Collins, CO
"The Linux kernel is subject to relentless development"
- Alessandro Rubini
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/