This is an archive of past FreeBSD releases; it's part of the FreeBSD Documentation Archive.

The Layout of /usr/src

Chapter 4. The Layout of /usr/src

The complete source code to FreeBSD is available from our public CVS repository. The source code is normally installed in /usr/src which contains the following subdirectories.

Directory Description
bin/ Source for files in /bin
contrib/ Source for files from contributed software.
crypto/ DES source
etc/ Source for files in /etc
games/ Source for files in /usr/games
gnu/ Utilities covered by the GNU Public License
include/ Source for files in /usr/include
kerberosIV/ Source for Kerbereros version IV
kerberos5/ Source for Kerbereros version 5
lib/ Source for files in /usr/lib
libexec/ Source for files in /usr/libexec
release/ Files required to produce a FreeBSD release
sbin/ Source for files in /sbin
secure/ FreeSec sources
share/ Source for files in /sbin
sys/ Kernel source files
tools/ Tools used for maintenance and testing of FreeBSD
usr.bin/ Source for files in /usr/bin
usr.sbin/ Source for files in /usr/sbin


This, and other documents, can be downloaded from ftp.FreeBSD.org/pub/FreeBSD/doc/.

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.