Subject: Re: Quick kernel question.
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 12/20/2002 15:34:31
In article <200212201024.35376.sucho2@vt.edu>, S. N. Cho <sucho2@vt.edu> wrote:

Type: size /netbsd
The sizes you see are loaded into memory. Unused device drivers just eat
space.

christos

>Hello,
>
>I have been wondering about the netbsd kernel size lately.  The GENERIC_LAPTOP 
>kernel size seem about 4.3M.  Does this mean that when I boot into system 
>with GENERIC_LAPTOP kernel, kernel gets deflated and everything is loaded 
>into system RAM or are most of the 4M simply stored in harddisk and only 
>devices it detect are actually loaded into system RAM?  If everything gets 
>loaded to system RAM regardless of whether all the hardwares compiled in 
>GENERIC_LAPTOP config file are detected or not, then I really ought to 
>recompile the kernel with omitting every devices I do not have.  On the other 
>hand, if much of the compiled stuff reside in harddisk and only actual 
>devices kernel detects are loaded into RAM, then I might as well simply 
>recompile the kernel modifying from the GENERIC configuration only the CPU 
>choice, i.e., I686_CPU etc.  I don't care much about wasting harddisk space 
>for I can never fill it up.  But, any small amount of RAM is precious to me.  
>Thank you.
>
>
>Yours sincerely,
>S. N. Cho,
>Friday, Dec. 20, 2002.