Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:project:fhs [2018/10/11 10:08] emulatorman |
en:project:fhs [2023/08/03 02:38] (current) emulatorman |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | //The **Filesystem Hierarchy Standard** (FHS) defines the main directories and their contents in GNU/Linux and other Unix-like computer operating systems.// | + | The **Filesystem Hierarchy Standard** (FHS) defines the main directories and their contents in GNU/Linux and other Unix-like computer operating systems. |
| ===== Overview ===== | ===== Overview ===== | ||
| Line 15: | Line 15: | ||
| All files and directories appear under the root_directory "/", | All files and directories appear under the root_directory "/", | ||
| + | |||
| + | A description of the hierarchy specified in the FHS: | ||
| {| border=" | {| border=" | ||
| Line 21: | Line 23: | ||
| |- | |- | ||
| |/bin | |/bin | ||
| - | |User command binaries. | + | |Essential user command binaries. |
| |- | |- | ||
| |/boot | |/boot | ||
| Line 37: | Line 39: | ||
| |/etc/opt | |/etc/opt | ||
| |Host-specific system configuration for Add-on application software packages | |Host-specific system configuration for Add-on application software packages | ||
| - | |- | ||
| - | |/games | ||
| - | |Games and educational binaries | ||
| |- | |- | ||
| |/home | |/home | ||
| |User home directories | |User home directories | ||
| - | |- | ||
| - | |/include | ||
| - | |Directory for standard include files / Header files included by program languages | ||
| - | |- | ||
| - | |/kern | ||
| - | |Kernel and system information virtual filesystem (HyperBK kernel only; mounted with kernfs) | ||
| |- | |- | ||
| |/lib | |/lib | ||
| - | |Shared | + | |Essential shared |
| |- | |- | ||
| - | |/lib/games | + | |/libexec |
| - | |Shared libraries for game binaries | + | |Essential |
| |- | |- | ||
| |/ | |/ | ||
| Line 60: | Line 53: | ||
| |- | |- | ||
| |/lib32 | |/lib32 | ||
| + | |Essential shared libraries for 32bit binaries (multilib packages only) | ||
| + | |- | ||
| + | |/media | ||
| + | |Mount point for removable media | ||
| + | |- | ||
| + | |/mnt | ||
| + | |Mount point for temporarily mounted filesystem / Mount point for mounting a filesystem temporary | ||
| + | |- | ||
| + | |/opt | ||
| + | |Add-on application software packages | ||
| + | |- | ||
| + | |/proc | ||
| + | |Kernel and process information virtual filesystem (mounted with procfs) | ||
| + | |- | ||
| + | |/root | ||
| + | |Home directory for the root user | ||
| + | |- | ||
| + | |/run | ||
| + | |Run-time variable data / Data relevant to running processes | ||
| + | |- | ||
| + | |/sbin | ||
| + | |Essential system command binaries | ||
| + | |- | ||
| + | |/srv | ||
| + | |Data for services provided by this system | ||
| + | |- | ||
| + | |/sys | ||
| + | |Kernel and system information virtual filesystem (Linux* kernel only; mounted with sysfs) | ||
| + | |- | ||
| + | |/tmp | ||
| + | |Temporary files (mounted with tmpfs) | ||
| + | |- | ||
| + | |/usr | ||
| + | |Secondary hierarchy | ||
| + | |- | ||
| + | |/usr/bin | ||
| + | |Most user command binaries | ||
| + | |- | ||
| + | |/usr/games | ||
| + | |Games and educational binaries | ||
| + | |- | ||
| + | |/ | ||
| + | |Directory for standard include files / Header files included by program languages | ||
| + | |- | ||
| + | |/usr/lib | ||
| + | |Shared libraries | ||
| + | |- | ||
| + | |/ | ||
| + | |Shared libraries for game binaries | ||
| + | |- | ||
| + | |/usr/lib32 | ||
| |Shared libraries for 32bit binaries (multilib packages only) | |Shared libraries for 32bit binaries (multilib packages only) | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| - | |Shared libraries for 32bit game binaries | + | |Shared libraries for 32bit game binaries |
| |- | |- | ||
| - | |/libexec | + | |/usr/libexec |
| |Binaries run by other programs | |Binaries run by other programs | ||
| |- | |- | ||
| - | |/local | + | |/usr/local |
| |Local hierarchy (for personal installation only) | |Local hierarchy (for personal installation only) | ||
| |- | |- | ||
| - | |/local/bin | + | |/usr/local/bin |
| |Local user binaries | |Local user binaries | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local games and educational binaries | |Local games and educational binaries | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local directory for standard include files / Local header files included by program languages | |Local directory for standard include files / Local header files included by program languages | ||
| |- | |- | ||
| - | |/local/lib | + | |/usr/local/lib |
| |Local shared libraries | |Local shared libraries | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local shared libraries for game binaries | |Local shared libraries for game binaries | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local shared libraries for 32bit binaries (multilib packages only) | |Local shared libraries for 32bit binaries (multilib packages only) | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local shared libraries for 32bit game binaries (multilib packages only) | |Local shared libraries for 32bit game binaries (multilib packages only) | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local binaries run by other programs | |Local binaries run by other programs | ||
| |- | |- | ||
| - | |/ | + | |/usr/local/sbin |
| |Local system binaries | |Local system binaries | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local architecture-independent data | |Local architecture-independent data | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local miscellaneous documentation (documentation packages only) | |Local miscellaneous documentation (documentation packages only) | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local static data files for game binaries | |Local static data files for game binaries | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local primary directory for GNU Info system (texinfo package only) | |Local primary directory for GNU Info system (texinfo package only) | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local online manuals / Local manual pages | |Local online manuals / Local manual pages | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Local miscellaneous architecture-independent data | |Local miscellaneous architecture-independent data | ||
| |- | |- | ||
| - | |/local/src | + | |/usr/local/src |
| |Local source code (source code packages only) | |Local source code (source code packages only) | ||
| |- | |- | ||
| - | |/media | + | |/usr/sbin |
| - | |Mount point for removable media | + | |Non-vital system command binaries |
| |- | |- | ||
| - | |/mnt | + | |/usr/share |
| - | |Mount point for temporarity mounted filesystem / Mount point for mounting a filesystem temporary | + | |
| - | |- | + | |
| - | |/opt | + | |
| - | |Add-on application software packages | + | |
| - | |- | + | |
| - | |/proc | + | |
| - | |Kernel and process information virtual filesystem (mounted with procfs) | + | |
| - | |- | + | |
| - | |/root | + | |
| - | |Home directory for the root user | + | |
| - | |- | + | |
| - | |/run | + | |
| - | |Run-time variable data / Data relevant to running processes | + | |
| - | |- | + | |
| - | |/sbin | + | |
| - | |System command binaries | + | |
| - | |- | + | |
| - | |/share | + | |
| |Architecture-independent data | |Architecture-independent data | ||
| |- | |- | ||
| - | |/share/doc | + | |/usr/share/doc |
| |Miscellaneous documentation (documentation packages only) | |Miscellaneous documentation (documentation packages only) | ||
| |- | |- | ||
| - | |/ | + | |/usr/ |
| |Static data files for game binaries | |Static data files for game binaries | ||
| |- | |- | ||
| - | |/ | + | |/usr/share/info |
| |Primary directory for GNU Info system (texinfo package only) | |Primary directory for GNU Info system (texinfo package only) | ||
| |- | |- | ||
| - | |/share/man | + | |/usr/share/man |
| |Online manuals / Manual pages | |Online manuals / Manual pages | ||
| |- | |- | ||
| - | |/ | + | |/usr/share/misc |
| |Miscellaneous architecture-independent data | |Miscellaneous architecture-independent data | ||
| |- | |- | ||
| - | |/src | + | |/usr/src |
| |Source code (source code packages only) | |Source code (source code packages only) | ||
| - | |- | ||
| - | |/srv | ||
| - | |Data for services provided by this system | ||
| - | |- | ||
| - | |/sys | ||
| - | |Kernel and system information virtual filesystem (Linux* kernel only; mounted with sysfs) | ||
| - | |- | ||
| - | |/tmp | ||
| - | |Temporary files (mounted with tmpfs) | ||
| |- | |- | ||
| |/var | |/var | ||
| Line 177: | Line 194: | ||
| |- | |- | ||
| |/var/crash | |/var/crash | ||
| - | |Kernel crash dumps (Linux* | + | |Kernel crash dumps (Linux* |
| |- | |- | ||
| |/var/games | |/var/games | ||
| Line 210: | Line 227: | ||
| |} | |} | ||
| - | < | + | < |
| + | The term " | ||
| + | </ | ||
| ===== Acknowledgement ===== | ===== Acknowledgement ===== | ||
| This wiki article is based on **DebianWiki**. We may have removed non-[[https:// | This wiki article is based on **DebianWiki**. We may have removed non-[[https:// | ||