当前位置:网站首页>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/
边栏推荐
猜你喜欢

Nuget找不到包的问题处理

Creo9.0 特征的成组

一根网线两台电脑传输文件

Test cases are hard?Just have a hand

2022-08-10:为了给刷题的同学一些奖励,力扣团队引入了一个弹簧游戏机, 游戏机由 N 个特殊弹簧排成一排,编号为 0 到 N-1, 初始有一个小球在编号 0 的弹簧处。若小球在编号为 i 的弹

The easiest trick to support quick renaming of various files

Square, multi-power, square root calculation in Tf

Hibernate 的 Session 缓存相关操作

CSDN21天学习挑战赛——封装(06)

查找最新人员工资和上上次人员工资的变动情况
随机推荐
Four states of Activity
第一次因没有找到iframe元素而怀疑selenium4是不是有bug?
Dynamic Agent Learning
查找最新人员工资和上上次人员工资的变动情况
1003 I want to pass (20 points)
LoRa芯片的特征
1.1-Regression
JRS303-Data Verification
redis operation
Do you know the basic process and use case design method of interface testing?
关于#sql#的问题:怎么将下面的数据按逗号分隔成多行,以列的形式展示出来
The softmax function is used in TF;
Hibernate 的 Session 缓存相关操作
抽象类和接口
go 操作MySQL之mysql包
零基础SQL教程: 基础查询 05
关于架构的认知
少年成就黑客,需要这些技能
CSDN21天学习挑战赛——封装(06)
快速幂,逆元的求解