http://www.pathname.com/fhs/

/boot -- Static files of the boot loader
  Purpose: contains everything required for the boot process except configuration files not needed at boot time and the map installer. Thus /boot stores data that is used before the kernel begins executing user-mode programs. This may include saved master boot sectors and sector map files.

/root -- Home directory for the root user (optional)

/bin -- Essential user command binaries (for use by all users)
  Purpose: contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted (e.g. in single user mode). It may also contain commands which are used indirectly by scripts

/sbin -- System Binaries
  Purpose: Utilities used for system administration (and other root-only commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin contains binaries essential for booting, restoring, recovering, and/or repairing the system in addition to the binaries in /bin.

/lib -- Essential shared libraries and kernel modules
Purpose: contains those shared library images needed to boot the system and run the commands in the root filesystem, ie. by binaries in /bin and /sbin.
/lib<qual> -- Alternate format essential shared libraries (optional)
Purpose: There may be one or more variants of the /lib directory on systems which support more than one binary format requiring separate libraries

/opt -- Add-on application software packages
Purpose: /opt is reserved for the installation of add-on application software packages. A package to be installed in /opt must locate its static files in a separate /opt/<package> or /opt/<provider> directory tree, where <package> is a name that describes the software package and <provider> is the provider’s LANANA registered name

/srv -- Data for services provided by this system.

/home -- User home directories (optional)
Purpose: /home is a fairly standard concept, but it is clearly a site-specific filesystem. 9 The setup will differ from host to host. Therefore, no program should rely on this location

/dev -- Device Files
Purpose: The /dev directory is the location of special or device files

/etc -- Host-specific system configuration
Purpose: The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary

/etc/opt -- Configuration files for /opt
Purpose: Host-specific configuration files for add-on application software packages must be installed within the directory /etc/opt/<subdir>, where <subdir> is the name of the subtree in /opt where the static data from that package is stored.

/media -- Mount point for removeable media
Purpose: This directory contains subdirectories which are used as mount points for removeable media such as floppy disks, cdroms and zip disks

/mnt -- Mount point for a temporarily mounted filesystem
Purpose: This directory is provided so that the system administrator may temporarily mount a filesystem as needed.

/tmp -- Temporary files
Purpose: The /tmp directory must be made available for programs that require temporary files.

/usr -- /usr is shareable, read-only data
/usr/bin -- Most user commands
Purpose: This is the primary directory of executable commands on the system.
/usr/include -- Directory for standard include files
Purpose: This is where all of the system’s general-use include files for the C programming language should be placed.
/usr/lib -- Libraries for programming and packages
Purpose: /usr/lib includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts.
/usr/local -- Local hierarchy
Purpose: The /usr/local hierarchy is for use by the system administrator when installing software locally. Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.
/usr/sbin -- Non-essential standard system binaries
/usr/share -- Architecture-independent data
Purpose: Any program or package which contains or requires data that doesn’t need to be modified should sore that data in /usr/share(or /usr/local/share, if installed locally).
/usr/share/man -- Manual pages
/usr/src -- Source code
Purpose: Source code may be place placed in this subdirectory, only for reference purposes.

/var -- Variable data files
Purpose: This includes spool directories and files, administrative and logging data, and transient and temporary files.
/var/cache -- Application cache data
/var/crash -- System crash dumps
/var/lib -- Variable state information
/var/lock -- Lock files
/var/opt -- for /opt
/var/run -- Run-time variable data
Purpose: This directory contains system information data describing the system since it was booted
/var/spool -- Applicaton spool data
Purpose: /var/spool contains data which is awaiting some kind of later processing. Data in /var/spool represents work to be done in the future (by a program, user, or administrator); often data is deleted after it has been processed.
/var/temp -- Temporary files preserved between system reboots, Data stored in /var/tmp is more persistent than data in /tmp.
/var/yp -- Network Information Service (NIS) database files (optional)

Liniux-Specific

/proc -- Kernel and process information virtual filesystem

Filesystem Hierarchy Standard (Unix, Linux etc)的更多相关文章

  1. The Filesystem Hierarchy Standard of Linux

    The Filesystem Hierarchy Standard of Linux linux directory https://zhuanlan.zhihu.com/p/23862856 htt ...

  2. Linux & Filesystem Hierarchy Standard

    Linux & Filesystem Hierarchy Standard The Filesystem Hierarchy Standard of Linux https://zhuanla ...

  3. Linux 文件系统简介(FHS:Filesystem Hierarchy Standard)

    一,linux的目录结构 /bin:所有用户都可以使用的可执行程序 /sbin:系统管理员使用的可执行程序 /boot:引导加载器必须用到的静态文件:kernel,initramfs,grub等. / ...

  4. Linux:文件系统层次结构标准(Filesystem Hierarchy Standard)

    Linux FHS_2.3标准文档:http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf

  5. Linux(二)—— Unix&Linux 的基本概念

    Linux(二)-- Unix&Linux 的基本概念 计算机 = 主机(host)+ 终端(terminal) 主机 = 内核 + 实用工具 内核(kernel) 当计算机启动时,计算机要经 ...

  6. Linux(二) - Unix&Linux 基本概念

    主机 = 内核 + 实用工具 内核(kernel) 当计算机启动时,计算机要经历一系列动作,这些动作构成了引导过程.引导过程的最后一个动作是启动一个非常复杂的程序,该程序就被称为内核(Kernel) ...

  7. 50个最常用的UNIX/Linux命令

    转自http://get.jobdeer.com/493.get 1. tar command examples Create a new tar archive. $ tar cvf archive ...

  8. UNIX / Linux: 2 Ways to Add Swap Space Using dd, mkswap and swapon

    UNIX / Linux: 2 Ways to Add Swap Space Using dd, mkswap and swapon by RAMESH NATARAJAN on AUGUST 18, ...

  9. 10+ commonly using find command switches with example Unix/Linux

    http://crybit.com/find-command-usage-with-example-unixlinux/ find command is one of the best search ...

随机推荐

  1. HDU 1796 How many integers can you find(容斥原理+二进制/DFS)

    How many integers can you find Time Limit: 12000/5000 MS (Java/Others)    Memory Limit: 65536/32768 ...

  2. String类的四个默认成员函数

    优化版的拷贝构造函数,先创建一个暂时实例tmp,接着把tmp._ptr和this->_ptr交换,因为tmp是一个局部变量.程序执行到该函数作用域外,就会自己主动调用析构函数.释放tmp._pt ...

  3. .net mvc4 + ajaxfileupload.js 解决IE浏览器中弹出下载对话框问题

    摘要:每一个人遇到的问题都不一样,在网上找了一大圈都没有解决到我的问题!由于我的环境如标题所看到的.攻克了这个问题. 主要问题:在于响应头的设置 Controller: [HttpPost] publ ...

  4. ubuntu-10.10嵌入式开发环境搭建【转】

    本文转载自:http://blog.csdn.net/zjhsucceed_329/article/details/8036781 版权声明:本文为博主原创文章,未经博主允许不得转载. ubuntu- ...

  5. maven仓库管理

    maven仓库管理很重要,如果是依赖jar下不到或下错了或出现莫名的报错.曾几何时为此花费了不少时间. 首先,注意自己maven仓库配置,里面有本地仓库目录和远程maven仓库,当自己本地没有依赖时可 ...

  6. pgsql数据库应用两点注意

    今天在写一个sql脚本时遇到了两个问题,记录一下. 1,pgsql中没有select top n语句,可以用limit n代替. 2,pgsql可以在定义函数存储过程时使用变量,但要注意函数定义中的函 ...

  7. vue 目录结构介绍

    1 初始目录如下: 2 目录结构介绍 bulid:最终帆布的代码存放位置 config:配置目录,包括端口号等 node_modules:npm加载的项目依赖模块 src:z这里是我们要开发的目录,基 ...

  8. ASP.NET面试点汇总

    1.维护数据库的完整性.一致性.你喜欢用触发器还是自写业务逻辑?为什么答:尽可能用约束(包括CHECK.主键.唯一键.外键.非空字段)实现,这种方式的效率最好:其次用触发器,这种方式可以保证无论何种业 ...

  9. centos6之前版本的启动流程

    centos6 之前的系统启动: linux启动流程: 1)加电自检 2)读取MBR,引导加载程序grub,完成grub的三个阶段. 3)加载系统内核kernel,执行系统初始化信息. 4)启动用户空 ...

  10. vue中子组件向父组件传值

    1.子组件$emit()触发,父组件$on()监听 子组件:<template> <div class="hello"> <button v-on:c ...