The Layout of /usr/src
The complete source code to FreeBSD is available from our public repository. The source code is normally installed in /usr/src
which contains the following subdirectories:
Directory | Description |
---|---|
bin/ | Source for files in/bin |
cddl/ | Utilities covered by the Common Development andDistribution License |
contrib/ | Source for files from contributedsoftware. |
crypto/ | Cryptographical sources |
etc/ | Source for files in /etc |
games/ | Source for files in /usr/games |
gnu/ | Utilities covered by the GNU PublicLicense |
include/ | Source for files in /usr/include |
kerberos5/ | Source for Kerberos version 5 |
lib/ | Source for files in /usr/lib |
libexec/ | Source for files in /usr/libexec |
release/ | Files required to produce a FreeBSDrelease |
rescue/ | Build system for the/rescue utilities |
sbin/ | Source for files in /sbin |
secure/ | FreeSec sources |
share/ | Source for files in /usr/share |
sys/ | Kernel source files |
tests/ | The FreeBSD test suite |
tools/ | Tools used for maintenance and testing ofFreeBSD |
usr.bin/ | Source for files in /usr/bin |
usr.sbin/ | Source for files in /usr/sbin |