FHS only defines what should be placed under the three-tier directory for the directory tree schema:
/(Root, root): related to boot system;/usr (UNIX software Resource): Related to Software Installation/execution, the system default software will be installed under this directory;/var (varable): It is related to the system operation, the system runs slowly The directory in which the drive capacity is used;
/directory Structure
The
following directories cannot be placed with the root directory on different partitions:/etc Profile/bin important execution files, related to the boot process/sbin important system execution files, related to the boot process/lib the required libraries for executing the files and the kernel needed for the module/dev Important system Execution text ---do not need to be in the same partition as the root directory---/boot boot to the file/root system administrator (root) home folder/home User Master folder/opt third-party software placement directory, but more accustomed to put in/usr/local/media media files/mnt temporarily Mount Directory/TMP general user or executing program temporarily place files, FHS recommend to delete this directory data/proc virtual file system, data in memory, such as kernel, process, external device status, network status, etc.
/USR directory structure
/include header files or include files, when we use tarball way to install the file will use a lot of files inside/bin Most users can use the command/sbin non-system operation required system command/lib function library and files, and executable files or scripts that are not customarily user-/share share files/man online Help files,/doc software Miscellaneous file descriptions,/zoneinfo time zone-related timezone file descriptions/src source code Placement directory/local install your own downloaded software
/VAR directory structure
/cache Some of the staging files that are generated during the run of the application itself/lib some data files that are needed during the execution of the program/lock/log the login file placement Directory/mail Place the personal e-mail directory/run PID placement directory/spool placement Queue Data
FHS Directory Standard Configuration