29 ms·
If you are still interested in FreeBSD, "The Design and Implementation of the Freebsd Operating System" is a fantastic book. It's a great guide in how a UNIX sy
by lorenzfx 7y ago
If you are still interested in FreeBSD, "The Design and Implementation of the Freebsd Operating System" is a fantastic book. It's a great guide in how a UNIX system and especially FreeBSD works and written by some of FreeBSD's most respected developers.
- non-entity 7y agoI actually did get a copy of that! Unfortunately, I only have the ebook at the moment, which I find difficult to read
- ashafer 7y agoIf you want something more hands on you can try "FreeBSD Device Drivers: A Guide for the Intrepid" by Joseph Kong. It is much easier to read, and my guess is you ran into it while making those BSD patches. He also has a short book on building rootkits for BSD, which is a very fun read and demonstrates how things like system calls work. If you want a guide to reading actual kernel code, here is a great resource explaining where some of the foundational pieces are. With a tool like cscope, reading the FreeBSD kernel is actually pretty easy. http://www.watson.org/~robert/freebsd/reading/ http://www.watson.org/~robert/freebsd/reading/ Hope that helps!
- mjb 7y agoThis is a great book, and while FreeBSD and Linux differ in a lot of ways, there are enough similarities to make it worth reading even if you're only interested in Linux.