lkml.org 
[lkml]   [2002]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.5] Retrieve configuration information from kernel
On Tue, 29 Oct 2002, Khalid Aziz wrote:

> I am including a revised patch 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".

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".

--
Paul

-
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:30    [W:0.076 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site