Re: How to check the kernel compile options ?

From: J.A. Magallon (jamagallon@able.es)
Date: Mon Feb 04 2002 - 18:34:13 EST


On 20020204 Arjan van de Ven wrote:
>
>> > What he is saying is that you can't do that, generically. Some options are
>> > available at runtime through /proc, but most are not. You need to check what
>> > happend back at compile time.
>>
>> Right, there is a religious issue here: some core kernel hackers believe
>> that it is wrong to encode kernel configuration in the kernel, and that
>> is why it's not available. Technically it is not difficult, nor is it
>> difficult to make it memory-efficient.
>
>It's silly to put it permanently in unswappable memory; putting it in
>/lib/modules/`uname -r/
>somewhere does make tons of sense instead.

Mandrake (and think also redhat) save the kenel config used at
/boot/config-x.y.z-abc

So look for /boot/config-`uname -r`

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.18-pre7-slb #1 SMP Mon Feb 4 21:21:52 CET 2002 i686
-
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:39 EST