Re: How to check the kernel compile options ?

From: David Relson (relson@osagesoftware.com)
Date: Mon Feb 04 2002 - 12:50:30 EST


At 12:34 PM 2/4/02, you wrote:

>A really useful patch makes all the options appeared in /proc/config.gz. It's
>used by SuSE kernels among others (mine, too :)
>You can find the patch on kernelnewbies.org (don't remember where exactly)
>
>
>zgrep CONFIG_PROC /proc/config.gz
> will give you the answer.
>
>I have absolutely no clue why such a useful things is not integrated into the
>kernel yet. It's even useful for such things as "build a kernel using the
>same options as I have on current kernel but I don't know where my .config
>is".
>
>FWICS It seems harmful to me.
>
>
>Thomas

I remember discussion of that patch some time ago and the main complaint
about it was that it increases the size of the kernel, i.e. vmlinuz. Why
not put the need info in a module? Doing that would enable the following
command:

         zgrep CONFIG_PROC /lib/modules/`uname -r`/config.gz

(or something similar).

David

-
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 Feb 07 2002 - 21:00:35 EST