lkml.org 
[lkml]   [2002]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to check the kernel compile options ?
Date
From
Alan Cox <alan@lxorguk.ukuu.org.uk> said:
> "Christoph Rohland" at Feb 06, 2002 11:36:56 AM said:
> X-Mailer: ELM [version 2.5 PL6]
> MIME-Version: 1.0
> Sender: linux-kernel-owner@vger.kernel.org
> Precedence: bulk
> X-Mailing-List: linux-kernel@vger.kernel.org
> X-UIDL: 70dcc828dc0f5fc32828144e3bf3c08c
>
> > > If you are going to cat it onto the end of the kernel image just
> > > mark it __initdata and shove a known symbol name on it. It'll get
> > > dumped out of memory and you can find it trivially by using tools on
> > > the binary
> >
> > What about putting such info into a (swappable) tmpfs file with
> > shmem_file_setup?
>
> That is indeed an extremely cunning plan. Paticularly as /proc/config can
> be a symlink to it

Right. If I take my .config, get just non-"n" entries, get rid of the
CONFIG_ at each line, then gzip(1) the result, I get 1515 _bytes_. Less
than the rounding error in a module, can be expanded on the fly with
existing infrastructure.

Sure, it makes sense to have .config around somehow for some rather
specialized cases, but kludgeing on some such functionality for a very
niche use just stinks, IMHO.
--
Horst von Brand http://counter.li.org # 22616
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.130 / U:16.956 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site