Ask HN: Recommended resources to learn the Linux kernel and OS theory?
408 pointsSo recently I did a couple of minor patches on the FreeBSD and NetBSD kernels and played with some linux kernel. It was the first time in a a few years, I've been excited about programming.
Unfortunately I'm still completely lost. It seems that there's so much to learn and every kernel update breaks whatever you just finished writing. I see terms in unfamiliar with and often find myself googling basic OS concepts.
Are there any recommendations reading materials to get a better grasp on OS theory and / or the Linux / UNIX kernels and programming for them?
Comments (83) 41 threads
Earlier commentsXinuOS [2]
MIT's xv6 OS [3]
[1] http://pages.cs.wisc.edu/~remzi/OSTEP/
[2] https://xinu.cs.purdue.edu/
[3] https://github.com/mit-pdos/xv6-public
https://pdos.csail.mit.edu/6.828/2014/xv6/book-rev8.pdf
https://pdos.csail.mit.edu/6.828/2014/overview.html
I completed this one, but they may have more recent versions. They give you some initial code that you need to complete, as well as tests to check your work before going to the next step. It covers a lot of material. It takes some patience and it's not for complete beginners but it's a great fun project. Not sure, but I'd say it took me 1 or 2 weeks full time.
All comments shown.
Couldn't load more comments. Check your connection and try again.