Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 29 Oct 2002 12:31:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 29 Oct 2002 12:31:27 -0500 Received: from nat9.steeleye.com ([65.114.3.137]:47366 "EHLO fenric.sc.steeleye.com") by vger.kernel.org with ESMTP id ; Tue, 29 Oct 2002 12:31:26 -0500 Date: Tue, 29 Oct 2002 12:11:03 -0500 (EST) From: Paul Clements Reply-To: Paul.Clements@steeleye.com To: Khalid Aziz cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.5] Retrieve configuration information from kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1112 Lines: 27 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/