当前位置:网站首页>Filesystem Hierarchy Standard
Filesystem Hierarchy Standard
2022-08-11 08:13:00 【OopspoO】
Filesystem Hierarchy Standard
The Filesystem Hierarchy Standard (FHS) defines the main directories and directory contents in the Linux operating system.FHS is maintained by the Linux Foundation.The current version is version 3.0, released in 2015.
Thedocuments are not much, about 50 pages in English, so you can read them quickly.
Look at the abstract first:
This standard consists of a set of requirements and guidelines for file and directory placement under UNIX-like
operating systems. The guidelines are intended to support interoperability of applications, system administration tools,
development tools, and scriptsas well as greater uniformity of documentation for these systems.
Generally speaking, it means to determine a specification for the location of files and directories for UNIX-like systems.
The next article is divided into the following sections:
- The Root Filesystem - The Root Filesystem
specifies which directory files need to be in the root directory.
The following directories (whether linked or not) need to exist in the root directory:
Directory | Description |
---|---|
bin | Essential command binaries |
boot | Static files of the boot loader |
dev | Device files |
etc | Host-specific system configuration |
lib | Essential shared libraries and kernel modules |
media | Mount point for removable media |
mnt | Mount point for mounting a filesystem temporarily |
opt | Add-on application software packages |
run | Data relevant to running processes |
sbin | Essential system binaries |
srv | Data for services provided by this system |
tmp | Temporary files |
usr | Secondary hierarchy |
var | Variable data |
/usr directory structure - The /usr Hierarchy
specifies which files are required in the usr directory.
It should be noted that **/usr is not the abbreviation of user, in fact, usr is the abbreviation of Unix Software Resource, that is, the directory where the software resources of the Unix operating system are placed, not the user's data; all system default software will be placedTo /usr, when the system is installed, this directory will occupy the most hard disk capacity**/var directory structure - The /var Hierarchy
specifies which files are required in the var directory.
/var contains the data to be changed during normal operation of the system.Usually the size of the directory where the data resides is frequently changed or expanded.Some other specific components of the operating system
reference
https://refspecs.linuxfoundation.org/
边栏推荐
猜你喜欢
随机推荐
Creo9.0 特征的成组
Distributed Lock-Redission - Cache Consistency Solution
Interview questions about Android Service
Kotlin算法入门计算质因数
CSDN21天学习挑战赛——封装(06)
1.2 - error sources
leetcode: 69. Square root of x
迷你图书馆系统(对象+数组)
The easiest trick to support quick renaming of various files
关于#sql#的问题:怎么将下面的数据按逗号分隔成多行,以列的形式展示出来
1056 Sum of Combinations (15 points)
你有对象类,我有结构体,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang结构体(struct)的使用EP06
Pico neo3 Unity Packaging Settings
C Primer Plus(6) 中文版 第1章 初识C语言 1.6 语言标准
零基础SQL教程: 主键、外键和索引 04
剑指offer专项突击版第26天
nodejs微服务中跨域,请求,接口,参数拦截等功能
TF generates (feature, label) set through feature and label, tf.data.Dataset.from_tensor_slices
【415. 字符串相加】
流式结构化数据计算语言的进化与新选择