Page 1 of 1

Documenting Linux

Posted: Wed Apr 04, 2007 9:08 pm
by ~
It looks like documenting Linux/BSD/*N*X would result as beneficial as dedicating the whole time to homebrew OS development.

Maybe the source would get outdated within 2 days, but it's necessary to start and end at least with an old version, because trying to follow it while being updated would be truly impossible if the same work hours and resources are employed.

In any way, it would be a very educative and relevant job...

Posted: Thu Apr 05, 2007 5:53 am
by Happy Egghead
If you're interested in seeing and understanding to a certain extent what goes on low-level in Linux, I've had a book for about 4 years called 'Linux Core Kernel Commentary' by Scott Maxwell (Corialis OpenPress). This is a full printed version of the Linux 2.2.5 kernel and includes kernel source code on CD for 0.01, 2.2.5, 2.2.10, 2.3.12, tag files for all distributions and a file containing the source with all lines numbered.
The book goes has several chapters discussing kernel architecture decisions, system call handling (native and iBC2), signals, interrupt handling, time process and thread handling, memory management, system IV IPC,SMP support, kernel parameter tuning etc....

Being big, black, about a foot long and half a foot wide and having 600 pages or so of text it's a fairly hefty read. I'm not a big user of Linux but I'm always interested to see how things work and also why a decision was made. I haven't seen a revision for version 2.4 kernels yet but again I would be interested in seeing how the changes have been implemented.

Posted: Thu Apr 05, 2007 6:10 am
by binutils

Posted: Thu Apr 05, 2007 7:51 am
by ~
Thanks for the references. It will be good to have them handy at some point and also inspect the newer code by oneself to figure it out clearly.

By the way, I didn't catched fully what this address was about, but I guess it's a massive graphical representation of the Linux kernel to show its organization:
binutils wrote:http://fcgp.sourceforge.net/

Posted: Thu Apr 05, 2007 7:33 pm
by Happy Egghead
Ouch! Talk about geeking out! That's one heck of a poster Mr Rusty's got there.

It makes me wonder what shape it would come out in when 3D rendered or even better what would other OS's source code look like when rendered using the same rules used?
If Linux is a Big Wheel (as per the poster) do Windows versions graduate from a Purse to Scrooge McDucks Money Bin?
How far does Mac OS X's beauty penetrate? (Find the hidden pic of Bill within!)
Does OpenBSD have a steel outer coating?
Does Solaris look anything like the sun? (Health Warning - Don't stare at the monitor for too long just in case.)

Seriously, I would like to know if the results would follow logical and organised paths of thought or just be a great big mess? Bring on OS/360.