[Gllug] How to check if module is in kernel ?

Steve Parker steve at steve-parker.org
Mon Nov 15 00:22:45 UTC 2010


On 15/11/10 00:00, Alain Williams wrote:
> On Sun, Nov 14, 2010 at 11:40:57PM +0000, Steve Parker wrote:
>    
>> On 14/11/10 23:34, salsaman at xs4all.nl wrote:
>>      
>>> OK, I found the ubuntu equivalent in /boot/config-`uname -r`.
>>>
>>>
>>>        
>> The file is ascii, on my system it weighs in at some 65KB, gzipping 
>> down to 17KB.
> However, think about how the kernel loads - the file is brought into RAM and ungzipped,
> run and then the initrd read, unzipped&  mounted as a RAM file system.
> The extra 17KB might not seem like a lot, but Linux does run on some severly memory
> limited machines (think a cheap broadband router) and the use of this memory
> could make things awkward - so simpler to not have the problem at all.
>    
True; that in itself could of course be a kernel option; given the 
"Module" option, a syscall couldn't be boolean in any case: 
Yes/No/Module could also return a 4th value of "Dunno"
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list