Subject: Re: Learning the kernel
To: Chris Scott <ccscott@gmail.com>
From: Matthew Mondor <mmondor@gmail.com>
List: tech-kern
Date: 07/23/2004 04:06:49
On Fri, 23 Jul 2004 01:57:34 -0300, Chris Scott <ccscott@gmail.com> wrote:
> I'm interesting in learning the NetBSD kernel, but I'm not sure where
> to start and considering there aren't the resources available that,
> for example, Linux has, could anyone point me in the right direction?
> The end plan is to try and help out here :)
If you are very new to netbsd, I also recommend the following article,
which helps
to know a bit what is where in the kernel (it was useful to me at least):
http://ezine.daemonnews.org/200205/netbsdsrctree3.html
Nothing compares reading the sources, however, in the long term.
You'll also want
to check the section 4 and 9 man pages (several kernel APIs are documented in
section 9).
Reading this list also was helpful, when someone adds a feature, and
posts the diff
with the message, it is very useful to see how it's done (where to
attach the various
components of the feature to the rest of the kernel especially, like
syscalls, sysctl
variable, makefile additions etc).
Matt