Re: [PATCH 2.5] Retrieve configuration information from kernel

From: Paul Clements (kernel@steeleye.com)
Date: Tue Oct 29 2002 - 12:11:03 EST


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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:43 EST