File System Layout

Whenever possible, only change things in /etc, /usr/local, /tmp, and /var/tmp.
/
This is the "root" of the filesystem where it all starts
/bin
Root partition binaries used by normal users
/boot
Files needed to boot the system
/dev
Device special files
/etc
System configuration files
/home
User home directories (include anonymous ftp and web files)
/lib
Root partition languages library files
/root
The super-user's home directory
/sbin
Root partition binaries used by the super-user
/tmp
Root partition temporary data
/afs
Where the AFS filesystem is mounted
/mnt
Create directories in here to mount things onto
/mit
Where Athena volumes appear when you run attach
/proc
Gives insight into kernel. Not real files.
/usr
Files not needed to boot up
/usr/bin
Binaries used by normal users
/usr/lib
Language libraries and system data
/usr/local
Local additions to the operating system (put things here)
/usr/local/bin
Local binaries used by normal users
/usr/local/sbin
Local binaries used by the super-user
/usr/sbin
Binaries used by the super-user
/var
Data written to automatically by programs
/var/log
Log files
/var/lib
Application-specific read-write data
/var/tmp
Temporary data
/var/spool
Processing queues for mail, news, etc.


Next
Back to the IAP Linux Page...


Written by Erik Nygren (linux-dev@mit.edu) for IAP '97