文件系统层次结构

  • 本书是《 Filesystem Hierarchy Standard 》一书的中文译本。该文档规定了Unix/Linux系统中各层次目录的作用,是发行版规划目录层次的指南。对于Mac OS和Android等系统,也有很大指导意义。
  • 英语初学者,所学浅薄、精力有限,在翻译的过程中难免存在一些错误或是不完整的部分,正在逐步修正和补充。如果存在疏漏、错误,欢迎各位以Issue或者PR的方式批评指正,感激不尽。

翻译版本(以及版权信息)为:

(2.3版本中文翻译指路)

Filesystem Hierarchy Standard

LSB Workgroup, The Linux Foundation

Version 3.0

Copyright © 2015 The Linux Foundation

Copyright © 1994-2004 Daniel Quinlan

Copyright © 2001-2004 Paul 'Rusty' Russell

Copyright © 2003-2004 Christopher Yeoh All trademarks and copyrights are owned by their owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark.

所有商标和版权均为其所有者所有,除非另有特别说明。本文件中任何术语的使用都不影响任何商标或服务标志的有效性。

Permission is granted to make and distribute verbatim copies of this standard provided the copyright and this permission notice are preserved on all copies.

允许制作和发行本标准的大意内容,但所有拷贝上必须保留版权信息和本许可声明

Permission is granted to copy and distribute modified versions of this standard under the conditions for verbatim copying, provided also that the title page is labeled as modified including a reference to the original standard, provided that information on retrieving the original standard is included, and provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

允许在大意相通的条件下复制和发行本标准的修改版本,条件是在标题页上标明修改的内容,其中包括对原始标准的参考,包括检索原始标准的信息,并且根据与本许可通知相同的许可通知条款分发整个衍生作品。。

Permission is granted to copy and distribute translations of this standard into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the copyright holder.

在上述修改版本的条件下,允许复制和发行本标准的另一种语言的译本,但本许可声明可以在版权持有人批准的译本中说明。

March 19, 2015

2015年3月19日

目录

  • 1.1 目的
  • 1.2 关于本文的一些特殊字符的说明

3.根(Root)文件系统

  • 3.1 目的

  • 3.2 要求

  • 3.3 具体选项

  • 3.4 /bin:基本用户命令的二进制文件(面向所有用户)

    • 3.4.1目的
    • 3.4.2要求
    • 3.4.3 具体选项
  • 3.5 /boot:引导加载程序的静态文件

    • 3.5.1目的
    • 3.5.2具体选项
  • 3.6 /dev:设备文件

    • 3.6.1目的
    • 3.6.2具体选项
  • 3.7/etc: 主机特定的系统配置

    • 3.7.2 目的
    • 3.7.2 要求
    • 3.7.3 具体选项
    • 3.7.4/etc/opt:/opt 的配置文件
      • 3.7.4.1 目的
      • 3.7.4.2 要求
    • 3.7.5 /etc/X11:X winows 系统的配置文件
      • 3.7.5.1 目的
      • 3.7.5.2 具体选项
    • 3.7.6