Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resources that explain Linux source code

Looking for resources that can help getting 'into' the Linux code. Could not get much help on Google. I have no issues on the distro covered by the book/resource, but will like if Fedora is the base. Also, it would be great if the resource is well maintained and updated.

like image 459
check123 Avatar asked May 27 '11 13:05

check123


People also ask

Where can I read Linux source code?

If the kernel source code is present in your system, you can find it under the /usr/src/linux-<Version> directory, where <Version> must be replaced with the source code kernel version you are dealing with. You also can find the last kernel source code at https://github.com/torvalds/linux.

Where is Linux kernel source code located?

After installation, the kernel sources are located in /usr/src/linux-<kernel-version>. If you plan to experiment with different kernels, unpack them in different subdirectories and create a symbolic link to the current kernel source.

What is Linux kernel tree?

The kernel source tree consists of all the source code for the kernel and device drivers for all supported processor architectures. The original kernel was developed to support 32-bit IA-32-based systems (starting with the 80386).

What is a kernel source?

So kernel is also software (more specifically system software) and it is programmed in one of the many available programming languages. So kernel source code means that code.


1 Answers

this looks promising:

http://kernelnewbies.org/KernelHacking

Note that you will need to be familiar with Operating Systems concepts to even understand the concepts of how memory is allocated, how processes are scheduled, and whatnot. Also, the code of the linux kernel is monstrously complex.

You are undertaking a daunting task. But have fun with it. You might want to start with a small device driver's code.

like image 165
hvgotcodes Avatar answered Nov 15 '22 21:11

hvgotcodes