当前位置:网站首页>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/
边栏推荐
猜你喜欢
Notable NFT development trends in 2022
关于架构的认知
Four operations in TF
记录一些遇见的bug——Lombok和Mapstruct的冲突导致,A component required a bean of type ‘com.XXX.controller.converter.
小目标检测3_注意力机制_Self-Attention
oracle数据库中列转行,列会有变化
One-hot in TF
Distributed Lock-Redission - Cache Consistency Solution
My creative anniversary丨Thank you for being with you for these 365 days, not forgetting the original intention, and each is wonderful
Interaction of Pico neo3 in Unity
随机推荐
3.1-Classification-probabilistic generative model
Unity3D——自定义类的Inspector面板的修改
【BM87 合并两个有序的数组】
分布式锁-Redission - 缓存一致性解决
IDEA的初步使用
Essential C# scripting skills for Unity developers
经典论文-MobileNet V1论文及实践
Kaldi语音识别工具编译问题记录(踩坑记录)
go-grpc TSL authentication solution transport: authentication handshake failed: x509 certificate relies on ... ...
CIKM 2022 AnalytiCup Competition: Federal Heterogeneous Task Learning
Four operations in TF
Distributed Lock-Redission - Cache Consistency Solution
Features of LoRa Chips
C Primer Plus(6) 中文版 第1章 初识C语言 1.6 语言标准
1.1-Regression
leetcode: 69. Square root of x
剑指offer专项突击版第26天
Kotlin算法入门计算水仙花数
Keep track of your monthly income and expenses through bookkeeping
Evolution and New Choice of Streaming Structured Data Computing Language