Roll your own Unix
jamesmolloy.co.uk
jamesmolloy.co.uk
Another great book in the same style is Notes on the Plan 9 3rd edition Kernel Source, also free: http://lsub.org/who/nemo/9.pdf
Plan 9 might be obscure to most HN readers, but fundamentally these books teach concepts, and the code base is much more clear and understandable than mainstream kernels.
The Plan 9 source is really a work of art. I cannot wait to sink my teeth into this commentary. Thank you so much for sharing!
I'm currently playing with some plan9front VMs (the plan9 fork from the cat-v.org people) and his intro to plan9 looks fantastic: http://lsub.org/who/nemo/9.intro.pdf
I had trouble finding information on Plan9, thank you so much for this link!
Writing your own hobby operating system is a very nice project to learn about your computer's internals and hone your low level programming skills. Here's the start of my hobby OS: https://github.com/rikusalminen/danjeros
Also, don't be fooled to thinking that you won't need the skills professionally, because Linux/Windows/*BSD already exists. In fact, at work we have an original in-house small "toy" operating system, but it's not a toy. It's actually used for testing new system on chips when they roll out the factory as well as doing some special purpose tasks on actual devices that are shipped to millions of customers. It's only a few thousand lines of code and looks a lot like one of these schoolbook/hobby operating systems. Unfortunately, I cannot tell you anything more about it.
Also check out this stanford course http://infolab.stanford.edu/~widom/cs346/
http://web.archive.org/web/20101019051118/http://www.jamesmo...