Linux (OpenBSD)系统目录分析

时间:2023-02-26 18:59:44

IER(7)                    OpenBSD Reference Manual                    HIER(7)

NAME
     hier - layout of filesystems

DESCRIPTION
     A sketch of the filesystem hierarchy.

/        Root directory.

/altroot/
              Alternate (backup) location for the root (`/') filesystem.

/bin/    User utilities fundamental to both single and multi-user envi-
              ronments.  These programs are statically compiled and therefore
              do not depend on any system libraries to run.

/bsd     Pure kernel executable (the operating system loaded into memory
              at boot-time).

/dev/    Block and character device files.

MAKEDEV  Script for creating device files (see makedev(8)).
              fd/      File descriptor files (see fd(4)).

/emul/   Base directory for alternate areas searched first when system
              call emulation is in effect (see compat_bsdos(8),
              compat_freebsd(8), compat_ibcs2(8), compat_linux(8),
              compat_sunos(8), compat_svr4(8), compat_ultrix(8)).

/etc/    System configuration files and scripts.

localtime    Local timezone information (see ctime(3)).
              disklabels/  Backup disklabels (see disklabel(8)).
              kerberosIV/  Configuration files for the Kerberos version IV
                           system (see kerberos(1)).
              kerberosV/   Configuration files for the Kerberos version V sys-
                           tem (see kerberos(1)).
              mail/        sendmail(8) configuration files (including
                           aliases(5)).
              mtree/       mtree configuration files (see mtree(8)).
              ppp/         pppd configuration files (see pppd(8)).
              skel/        Example ``.'' (dot) files for new accounts.

/home/   Default location for user home directories.

/mnt/    Empty directory commonly used by system administrators as a tem-
              porary mount point.

/root/   Default home directory for the superuser.

/sbin/   System programs and administration utilities fundamental to both
              single and multi-user environments.

/stand/  Programs used in a stand-alone environment.

/tmp/    Temporary files, usually an mfs(8) memory-based filesystem (the
              contents of /tmp are usually not preserved across a system re-
              boot).

/usr/    Contains the majority of user utilities and applications.

X11R6/    Files required for the X11 window system.

bin/      X11 binaries.
                        include/  X11-specific C include files.
                        lib/      X11 archive libraries.

X11/  Default configuration files for X11
                                        and companion applications (see
                                        xdm(1), xkb(1), twm(1)).

man/      X11 manual pages.

bin/      Common utilities, programming tools, and applications.
              games/    Useful and semi-frivolous programs.
              include/  Standard C include files.

arpa/        C include files for Internet service pro-
                                     tocols.
                        kerberosIV/  C include files for Kerberos IV authenti-
                                     cation package (see kerberos(1)).
                        kerberosV/   C include files for Kerberos V authenti-
                                     cation package (see kerberos(1)).
                        crypto/      C include files for the cryptographic li-
                                     braries.
                        ddb/         C include files for the kernel debugger
                                     (see ddb(4)).
                        g++/         Include files for the GNU C++ compiler.
                        isofs/       C include files for the ISO standard file
                                     systems (currently only cd9660).
                        miscfs/      C include files for miscellaneous file
                                     systems.
                        netatalk/    C include files for the AppleTalk proto-
                                     col.
                        netccitt/
                        netipx/      C include files for the IPX protocol.
                        netnatm/
                        objc/        C include files for GNU Objective-C.
                        ssl/         C include files for the OpenSSL library
                                     (see ssl(8)).
                        readline/
                        rpc/         C include files for remote procedure
                                     calling (see rpc(5)).
                        rpcsvc/
                        scsi/        SCSI-specific C include files.
                        uvm/         C include files for the New and Improved
                                     virtual memory interface.
                        vm/          C include files for the virtual memory
                                     interface.
                        xfs/         C include files for the XFS file system.
                        dev/         Device-specific C include files.
                        machine/     Machine specific C include files.
                        net/         Miscellaneous network C include files.
                        netinet/     C include files for Internet standard
                                     protocols (see inet(4)).
                        netinet6/    C include files for Internet protocol
                                     version 6 (see inet6(4)).
                        netiso/      C include files for ISO standard proto-
                                     cols (see iso(4)).
                        netns/       C include files for XNS standard proto-
                                     cols (see ns(4)).
                        nfs/         C include files for NFS (Network File
                                     System).
                        protocols/   C include files for Berkeley service pro-
                                     tocols.
                        sys/         System C include files (kernel data

structures).
                        ufs/         C include files for UFS (the U-word File
                                     System).

lib/      Archive libraries.
              libdata/  Miscellaneous utility data files.
              libexec/  System daemons and utilities (executed by other pro-
                        grams).

auth/  Login scripts used to authenticate users (for
                               BSD authentication).

lkm/
              mdec/
              local/    Local executables, libraries, etc.
              obj/      Architecture specific target tree produced by building
                        the /usr/src tree.
              ports/    The OpenBSD ports collection (see ports(7)).
              sbin/     System daemons and utilities (executed by users).
              share/    Architecture independent data files.

calendar/    Variety of pre-fab calendar files (see
                                     calendar(1)).
                        dict/        Word lists (see look(1)).

words       Common words.
                                     web2        Words from Webster's 2nd In-
                                                 ternational.
                                     web2a       Additional words from Web-
                                                 ster's.
                                     propernames
                                                 List of proper names.
                                     eign
                                     papers/     Reference databases (see
                                                 refer(1)).
                                     special/    Custom word lists.

doc/         Miscellaneous documentation; source for
                                     most of the printed 4.3BSD manuals
                                     (available from the USENIX association).
                        games/       ASCII text files used by various games.
                        groff_font/  GNU troff shared fonts.
                        info/        Texinfo source files.
                        ipsec/       IPsec example files.
                        lkm/         Example source code implementing several
                                     lkm module types (see lkm(4)).
                        locale/
                        man/         Manual pages.
                        misc/        Miscellaneous system-wide ASCII text
                                     files.

termcap     Terminal characteristics
                                                 database (see termcap(5)).

mk/          Templates for make (see make(1)).
                        nls/
                        sendmail/    Example files for sendmail(8).
                        vi/catalog/  Catalog files for the vi(1) text editor.
                        tabset/      Tab description files for a variety of
                                     terminals; used in the termcap file (see
                                     termcap(5)).
                        tmac/        Text processing macros (see nroff(1) and
                                     troff(1)).
                        zoneinfo/    Timezone configuration information (see
                                     tzfile(5)).

src/      BSD and/or local source files.

bin/         Source for files in /bin.
                        etc/         Source for files in /etc.
                        games/       Source for files in /usr/games.
                        gnu/         Source for files with GPL license.
                        include/     Source for files in /usr/include.
                        kerberosIV/  Source for Kerberos version IV.
                        kerberosV/   Source for Kerberos version V.
                        lib/         Source for files in /usr/lib.
                        libexec/     Source for files in /usr/libexec.
                        lkm/         Source for files in /usr/lkm.
                        sbin/        Source for files in /sbin.
                        share/       Source for files in /usr/share.
                        sys/         Kernel source files.
                        usr.bin/     Source for files in /usr/bin.
                        usr.sbin/    Source for files in /usr/sbin.

/var/    Multi-purpose log, temporary, transient, and spool files.

account/   System accounting files.

acct        Execution accounting file (see acct(5)).

at/        timed(8) command scheduling files (see at(1)).
              backups/   Miscellaneous backup files.
              db/        Miscellaneous automatically generated system-specific
                         database files.
              games/     Miscellaneous game status and log files.
              log/       Miscellaneous system log files.

wtmp        Login/logout log (see wtmp(5)).

mail/      User mailbox files.
              named/     named(8) configuration files.

namedb/     Zone files.

preserve/  Temporary home of files preserved after an accidental
                         death of an editor (see ex(1)).
              quotas/    Filesystem quota information files.
              run/       System information files describing various info
                         about the system since it was booted.

utmp        Database of current users (see utmp(5)).

rwho/      rwho data files (see rwhod(8), rwho(1), and
                         ruptime(1)).
              spool/     Miscellaneous printer and mail system spooling direc-
                         tories.

ftp/        Commonly ~ftp; the anonymous ftp root di-
                                     rectory.
                         mqueue/     Undelivered mail queue (see sendmail(8)).
                         output/     Line printer spooling directories.
                         uucp/       uucp spool directory.
                         uucppublic/
                                     Commonly ~uucp; public uucp temporary di-
                                     rectory.

tmp/       Temporary files that are kept between system reboots.

SEE ALSO
     apropos(1), find(1), locate(1), whatis(1), whereis(1), which(1)

HISTORY
     A hier manual page appeared in Version 7 AT&T UNIX.

OpenBSD 3.0                      June 5, 1993                                5

Linux (OpenBSD)系统目录分析的更多相关文章

  1. Linux系统目录分析

    Linux系统目录分析 /bin :系统指令目录(如ls.cp.mv等指令) /dev :系统设备目录 /home :系统用户的家,每一个系统用户都在此目录下有一个自己的家,每次登录时,系统都会自动登 ...

  2. 《Unix/Linux网络日志分析与流量监控》获2015年度最受读者喜爱的IT图书奖

    <Unix/Linux网络日志分析与流量监控>获2015年度最受读者喜爱的IT图书奖.刊登在<中华读书报>( 2015年01月28日 19 版) 我的2015年新作刊登在&lt ...

  3. Linux Bluetooth内核分析

    目录 1. 初始化 2. hci部分 Linux提供了对Bluetooth的支持,核心代码位于net/bluetooth 1. 初始化 主要由subsys_initcall调用函数bt_init()来 ...

  4. Linux之kernal分析与启动20160610

    说一下LINUX内核的分析与启动: 一. 内核启动流程,据此配置内核(机器ID) 1.1 修改Makefile 1.2 选择默认配置 : make s3c2410_defconfig 1.3 make ...

  5. linux源码分析2

    linux源码分析 这里使用的linux版本是4.8,x86体系. 这篇是 http://home.ustc.edu.cn/~boj/courses/linux_kernel/1_boot.html  ...

  6. Linux网络地址转换分析

    Linux网络地址转换分析 地址转换用来改变源/目的端口,是netfilter的一部分,也是通过hook点上注册相应的结构来工作. Nat注册的hook点和conntrack相同,只是优先级不同,数据 ...

  7. linux串口驱动分析

    linux串口驱动分析 硬件资源及描写叙述 s3c2440A 通用异步接收器和发送器(UART)提供了三个独立的异步串行 I/O(SIO)port,每一个port都能够在中断模式或 DMA 模式下操作 ...

  8. Linux input子系统分析

    输入输出是用户和产品交互的手段,因此输入驱动开发在Linux驱动开发中很常见.同时,input子系统的分层架构思想在Linux驱动设计中极具代表性和先进性,因此对Linux input子系统进行深入分 ...

  9. Linux文件系统目录

    Linux操作系统目录呈树形结构,文件系统只有一个根目录,其余文件都是从根目录下延伸出来的 上图是一个Linux文件系统目录的展现,现在我们来看一下文件系统目录下相关目录及其功能 根目录( / ) L ...

  10. Linux系统IO分析工具之iotstat常用参数介绍

    Linux系统IO分析工具之iotstat常用参数介绍 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 1>.安装iostat [root@flume115 ~]# yum - ...

随机推荐

  1. split 方法的正确使用姿势

    本文同步自我的个人博客:http://www.52cik.com/2015/11/02/split-skill.html 通过js获取 QueryString (location.search部分) ...

  2. More Effective C&plus;&plus; &lpar;1&rpar;

    简单分析总结了more effective c++ 的前十个条款: 剩下的条款to be continue~ 1.仔细区分指针和引用引用必须不能指向空,指针可以指向空,指针初始化是记得赋空值,重载某些 ...

  3. 前端代码新写法——Zen Coding

    是不是还在为html繁琐的标签写法而苦恼? 是不是还在枯燥的写尖括号? Zen Coding的到来将让前端编码不在繁琐.不再拘泥html的尖括号和一堆一堆的标签. 先看看ZenCoding的效果图. ...

  4. jQuery对象和javascript对象互换

    jquery变js var obj=$("dom"); 或 var obj=jQuery("dom"); js 变 jquery var $jobj=$(obj ...

  5. C&num;让TopMost窗体弹出并置顶层但不获取当前输入焦点的终极办法

    为了使程序在弹出窗口时置顶层且不获取系统输入焦点,避免影响用户当前的操作,来电通来电弹屏软件尝试过N多种办法,例如:弹出前保存当前焦点窗口句柄,弹出时因为使用TopMost系统默认将焦点交给了弹出窗口 ...

  6. Perl语言学习笔记 9 正则表达式处理文本

    1.更换 s/PATTERN/REPLACE/; #返回是否更换成功布尔值 能够使用捕获变量,如:s/(\w)/$1/ 匹配失败则不做不论什么处理 2.定界符 对于没有左右之分的定界符.反复三次就可以 ...

  7. Web Service循序渐进学习

    1.Web service 是什么? (WebService 是可以通过互联网远程访问调用的应用程序,实现数据传输共享.这种应用程序理解为不同服务提供帮助.能够支撑实现应用程序发布访问的技术可以称为W ...

  8. blur事件

    blur事件是在元素失去焦点的时候触发,那么失去焦点的前提便是获得焦点. 哪些元素可以获取焦点呢? 1.超链接 2.input button textarea (without disabled) 3 ...

  9. CTF---Web入门第十四题 忘记密码了

    忘记密码了分值:20 来源: Justatest 难度:中 参与人数:7706人 Get Flag:2232人 答题人数:2386人 解题通过率:94% 找回密码 格式:SimCTF{ } 解题链接: ...

  10. 生活沉思录 via 哲理小故事(一)

    1.小托蒂的悲剧 意大利小男孩托蒂,有一只十分奇怪的眼睛,因为从生理上看,这是一只完全正常的眼睛,但却是失明的. 原来,托蒂刚出生时,这只眼睛轻度感染,曾用绷带缠了两个星期.这对常人来说几乎没有人任何 ...