LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2001, 02:56 PM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
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?

 
Old 07-11-2001, 03:04 PM   #2
Thomas_Delrue
Registered User
 
Registered: Jul 2001
Posts: 41

Rep: Reputation: 15
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
 
Old 07-11-2001, 03:27 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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).
 
Old 07-12-2001, 12:38 AM   #4
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 05:24 PM
Kernel 2.4 To 2.6 Question... sam.wheale Linux - Newbie 2 01-17-2005 03:16 PM
Broad question: Is kernel 2.6.9 really stable? What is the best 2.6.x kernel? jtp51 Slackware 16 10-27-2004 12:29 PM
Kernel question (about kernel patches) alekoos Linux - Newbie 1 04-29-2004 11:33 AM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration