Re: How to check the kernel compile options ?

Randy.Dunlap (rddunlap@osdl.org)
Wed, 6 Feb 2002 07:59:48 -0800 (PST)


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/