LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel question (https://www.linuxquestions.org/questions/linux-general-1/kernel-question-4185/)

Stephanie 07-11-2001 02:56 PM

Kernel question
 
I am going through the src code,on my distro, and I went to kernel and got curious. There are only about 15 files in there. Is that Linux kernel?

The reason I am asking is because I am wanting to rebuild my own Linux system from and make modifications, bu I cant believe the Linux kernel is so few files, and the rest are drivers and modules. Anyone know different?

:study:

Thomas_Delrue 07-11-2001 03:04 PM

newbie but...
 
OK, OK, I am a newbie, but still, consider my thought (and correct me if wrong, please!)


I think the kernel is indeed that small... just like in Windows (iep) those modules are like DLLs that link during run-time of the kernel...

If wrong, please correct me...

Thomas

mcleodnine 07-11-2001 03:27 PM

Are you looking in /usr/src/linux (which is a link to your current kernel 2.x.x directory).

The last time I checked the kernel and module source for 2.4.2 was a package install of about 55MB (iirc).

cinnix 07-12-2001 12:38 AM

15 files sounds like it might be the header files.

BTW the way I did a
ls -R /usr/src/kernel/patch-setup/ | wc -l
and came up with 12513 files on a 2.4.6 kernel.


All times are GMT -5. The time now is 07:56 PM.