next up previous contents
Next: Administrativia/usr/adm Up: Directory Tree Overview Previous: C/C++ Programming/usr/include

Source Codes, /usr/src

The customary place to keep source code for the kernel and standard programs is /usr/src . In particular, /usr/src/linux is usually the directory with the source code for the running version of the kernel. Kernel source code, or at least the headersgif, is needed because the headers of the C library refer to headers in the kernel source for kernel version dependent information, such as some types. Because of this, /usr/include/asm and /usr/include/linux are typically symbolic links to /usr/src/linux/include/asm

and linux , respectively.



Ross Biro
Mon May 22 09:14:56 PDT 1995