FHS组织(Filesystem Hierarchy Standard Group)

为了确保Linux发行版的一致性,FHS组织制定了一个公开标准,规定了文件系统的结构,包括必要的文件和目录的位置,以便软件开发者和用户可以预测安装文件的位置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

因为Linux是开发source code的系统,所以每一个Linux厂商,(如Redhat、SuSE 、Ubuntu等)都有自己的考虑,会加入和删除一些基本选项后者特殊功能,也因为这样,每一个厂商推出的Linux发行版本(Linux  Disturbution)的目录和数量会存在一些差异,甚至是同样的组件中的某个文件,文件名也会随着版本的不同会有所差异,所以控制权实际是掌握在厂商手里。这样也使的用户使用上带来一些麻烦。

 

    正是基于上面的这些原因,FSH组织应运而生了,该组织定义了一份FHS的公开标准,供各个Linux厂商参考,目的是让所以的linux厂商可以在相同的条件发展自己的application,将该有的dirtectory和file都有可以因为使用同一份标准规范,使用用户都有统一的方式。

 

      The filesystem standard has been designed to be used by Unix distribution developers, package developers, and system implementors. However, it is primarily intended to be a reference and is not a tutorial on how to manage a Unix filesystem or directory hierarchy.

 

This standard enables:
• Software to predict the location of installed files and directories, and
• Users to predict the location of installed files and directories.
We do this by:
• Specifying guiding principles for each area of the filesystem,
• Specifying the minimum files and directories required,
• Enumerating exceptions to the principles, and
• Enumerating specific cases where there has been historical conflict.
The FHS document is used by:
• Independent software suppliers to create applications which are FHS compliant, and work with distributions
which are FHS complaint,
• OS creators to provide systems which are FHS compliant, and
• Users to understand and maintain the FHS compliance of a system.
The FHS document has a limited scope:
• Local placement of local files is a local issue, so FHS does not attempt to usurp system administrators.
• FHS addresses issues where file placements need to be coordinated between multiple parties such as local
sites, distributions, applications, documentation, etc.
1.2. Conventions
We recommend that you read a typeset version of this document rather than the plain text version. In the typeset
version, the names of files and directories are displayed in a constant-width font.
Components of filenames that vary are represented by a description of the contents enclosed in "<" and ">"
characters, <thus>. Electronic mail addresses are also enclosed in "<" and ">" but are shown in the usual
typeface.
Optional components of filenames are enclosed in "[" and "]" characters and may be combined with the "<" and
">" convention. For example, if a filename is allowed to occur either with or without an extension, it might be
represented by <filename>[.<extension>].
Variable substrings of directory names and filenames are indicated by "*".
The sections of the text marked as Rationale are explanatory and are non-normative.

 

 如果你想理解详细的内容,请参考网址如下:

http://proton.pathname.com/fhs/

目前FSH的Release Last Version是2.3 ,release time is 2004.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值