Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 6 Feb 2002 11:04:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 6 Feb 2002 11:03:57 -0500 Received: from air-2.osdl.org ([65.201.151.6]:49422 "EHLO osdlab.pdx.osdl.net") by vger.kernel.org with ESMTP id ; Wed, 6 Feb 2002 11:03:50 -0500 Date: Wed, 6 Feb 2002 07:59:48 -0800 (PST) From: "Randy.Dunlap" X-X-Sender: To: Alan Cox cc: Christoph Rohland , , , Subject: Re: How to check the kernel compile options ? 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 On Wed, 6 Feb 2002, Alan Cox wrote: | > > 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 | - I still prefer your suggestion to append it to the kernel image as __initdata so that it's discarded from memory but can be read with some tool(s). -- ~Randy - 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/