Click to See Complete Forum and Search --> : How many lines are in linux kernel ?


anton
03-05-2001, 01:02 PM
Hello ,

anybody know subj ? preferably in one of the first kernels and one of the last kernels ; )

Thanks,
bye.

PLBlaze
03-05-2001, 01:20 PM
I have a poster with kernel code ver 1.0 and it says 1000 lines,the latest one (2.4.2)i would guess anywhere from 3 to 5 million altough i could be wrong.Hope this helps some.

njcajun
03-05-2001, 02:03 PM
I had heard 15 million lines somewhere, I think, but I'm not sure. Consult the "Black Book Linux Core Kernel" or whatever it's called. It's a book with all the kernel code and some commentary along with it.

The kernel is not trivial, and is not really what you'd call 'small', though in relation to the win32 kernel, it's very small. Of course, this is just the 'core kernel', this doesn't include stuff you may build into it to make it fatter.

Strike
03-05-2001, 06:13 PM
You could probably write a script that would wc -l through the whole source tree...

Check http://lxr.linux.no - they might have it (the line count)