Live data from Hacker News

Ask HN: I'd like to start reading the Linux source code. Where should I start?

news.ycombinator.com

11–14 of 14 posts

Re: Ask HN: I'd like to start reading the Linux source code. Where should I start?

#11
post #3

Since you do not mention if you're already a pro with OS internals and implementations, I will assume, maybe incorrectly, that you're not. So in that spirit, try the XinuOS. It has the complete source code for a minimal, clean and practical OS. Search for the book explaining it inside out. xv6, a re-implementation of Dennis Ritchie's and Ken Thompson's Unix Version 6 (v6) also comes to mind. And C. Don't forget to sh…

> XinuOS Did you mean https://en.wikipedia.org/wiki/Xinuos or https://www.amazon.in/Operating-System-Design-Approach-Secon... ?

Yes, that's the book. The source code is open-sourced,

https://xinu.cs.purdue.edu/

Re: Ask HN: I'd like to start reading the Linux source code. Where should I start?

#13
Have you considered ''Linux From Scratch'' as an element of your research?

https://www.linuxfromscratch.org/

Building a Linux kernel and system with your own specific configuration tweaks may reveal things that the best of books, manuals, courses, etc. might not cover.

Re: Ask HN: I'd like to start reading the Linux source code. Where should I start?

#14
Linux Core Kernel Commentary: Guide to Insider's Knowledge on the Core Kernel of the Linux Code

https://www.amazon.com/Linux-Core-Kernel-Commentary-Knowledg...

Understanding the Linux Kernel, Third Edition 3rd Edition

https://www.amazon.com/Understanding-Linux-Kernel-Third-Dani...

Post reply on HN