Understanding the Filesystem Hierarchy Standard (FHS) Flashcards
What is the root of the system tree?
/ is the root of the system tree
branches of the tree are…
the directories
What is the FHS?
The FHS is a way for everyone to agree what goes where to make it predictable for users and programs
What is the FHS a part of?
the Linux Standard Base (LSB)
Where can you find information about the FHS?
Info about FHS can be found at Linux Foundation
What does FHS stand for?
Filesystem Hierarchy Standard (FHS)
what is a shareable file?
Shareable files are located in an NFS for example and can be accessed by others
What is a non-shareable file?
Non-Shareable: these files are local only. Example: files in /etc
what is a static file?
Static: these files do not change, and do not need a backup, Example: files in /usr and /etc
what is a variable file?
These files can be changed without root privileges, must be backed up regularly. Example: files in /var and /home
What does /bin contain?
/bin has binary files
What does /boot contain?
/boot for boot files
What does /dev contain?
/dev for devices files
What does /etc contain?
/etc for config files
What does /home contain?
/home for users home
what does /lib contain?
/lib library files for user commands
what does /lib64 contain?
/lib64 for library files for architecture dependant commands
what does /mnt contain?
/mnt for temporary mounts of drives
what does /opt contain?
/opt for add-on packages, for use in local system
what does /proc contain?
/proc for kernel processes and system info
what does /sys contain?
/sys contains kernel, devices and driver info
what does /root contain?
/root home dir for the root user
what does /sbin contain?
/sbin binaries for root
what does /usr contain?
Shareable read-only data
what does /var contain?
/var for variable files, logs
what does /srv contain?
/srv for data files for services provided to others
what does /tmp contain?
/tmp for temp files in directories by process
What man page can you consult to see more info about the FHS?
for more info, consult # man hier