当前位置:网站首页>Filesystem Hierarchy Standard
Filesystem Hierarchy Standard
2022-08-11 08:08:00 【OopspoO】
Filesystem Hierarchy Standard
文件系统层次结构标准(英语:Filesystem Hierarchy Standard,FHS)定义了Linux操作系统中的主要目录及目录内容。FHS由Linux基金会维护。 当前版本为3.0版,于2015年发布。
文档内容不多,英文内容差不多50页,可以很快阅读一遍。
先看下摘要:
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 scripts as well as greater uniformity of documentation for these systems.
大体意思就是说要为UNIX-like的系统确定一个文件和目录位置的规范。
接下来文章分成以下几部分:
- 根文件系统——The Root Filesystem
规定了根目录下需要有那些目录文件。
下面的目录(无论是不是链接)都需要在根目录下存在:
目录 | 描述 |
---|---|
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目录结构——The /usr Hierarchy
规定了usr目录下需要有哪些文件。
需要注意的是**/usr不是user的缩写,其实usr是Unix Software Resource的缩写, 也就是Unix操作系统软件资源所放置的目录,而不是用户的数据;所有系统默认的软件都会放置到/usr, 系统安装完时,这个目录会占用最多的硬盘容量**/var目录结构——The /var Hierarchy
规定了var目录下需要有哪些文件.
/var 包含系统一般运行时要改变的数据。通常这些数据所在的目录的大小是要经常变化或扩充的。操作系统其他的一些特定组件
reference
https://refspecs.linuxfoundation.org/
边栏推荐
- tf.reduce_mean() and tf.reduce_sum()
- Four operations in TF
- Pico neo3 Unity Packaging Settings
- 无服务器+域名也能搭建个人博客?真的,而且很快
- Serverless + domain name can also build a personal blog? Really, and soon
- oracle19c does not support real-time synchronization parameters, do you guys have any good solutions?
- 1091 N-Defensive Number (15 points)
- 高德能力API
- matrix multiplication in tf
- 1002 Write the number (20 points)
猜你喜欢
2022 China Soft Drink Market Insights
【LeetCode】链表题解汇总
JRS303-数据校验
My creative anniversary丨Thank you for being with you for these 365 days, not forgetting the original intention, and each is wonderful
支持各种文件快速重命名最简单的小技巧
我的创作纪念日丨感恩这365天来有你相伴,不忘初心,各自精彩
【云原生】云原生在网络安全领域的应用
3.1-分类-概率生成模型
如何通过 IDEA 数据库管理工具连接 TDengine?
4.1 - Support Vector Machines
随机推荐
jenkins简单使用
The easiest trick to support quick renaming of various files
oracle数据库中列转行,列会有变化
1061 True or False (15 points)
go-grpc TSL authentication solution transport: authentication handshake failed: x509 certificate relies on ... ...
C语言-结构体
笔试题大疆08.07
【C语言】每日一题,求水仙花数,求变种水仙花数
Use tf.argmax in Tensorflow to return the index of the maximum value of the tensor along the specified dimension
nodejs微服务中跨域,请求,接口,参数拦截等功能
IQUNIX A80 exploring TTC金粉 初体验
【BM87 合并两个有序的数组】
AcWing 272. 最长公共上升子序列
9、Neural Sparse Voxel Fields
通过记账,了解当月收支情况
分门别类输入输出,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang基本数据类型和输入输出EP03
Machine Learning Summary (2)
Kaldi语音识别工具编译问题记录(踩坑记录)
快速幂,逆元的求解
2021-08-11 For loop combined with multi-threaded asynchronous query and collect results