类Unix系统目录结构
HIER(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
相关推荐
unix系统结构图
在UNIX系统中,一切都是文件,包括硬件设备和进程,这被称为"一切皆文件"的理念。 **2. 文件操作** - **创建文件**:在模拟文件系统中,你需要实现`create()`函数,它应分配一个唯一的文件标识(如inode号),并...
UNIX系统内核结构学习教案.pptx
**UNIX操作系统结构** UNIX操作系统是计算机科学领域中最古老且影响力深远的操作系统之一,自1969年诞生以来,它已经发展成为一种广泛应用于科研、教育和企业环境的基础平台。本教程将帮助初学者理解UNIX操作系统的...
这涉及到对类Unix系统中的文件系统原理、数据结构和编程接口的深入理解和应用。本文将详细探讨这个主题,帮助你理解并实现这样的系统。 首先,让我们了解什么是类Unix系统。类Unix系统是指遵循Unix哲学和使用类似...
**Unix系统结构(精粹)** Unix系统结构的精髓在于其独特的层次化设计,由内核层和外壳层构成。内核层是Unix系统的核心,负责处理系统最基础的硬件管理和资源调度,而外壳层则提供了用户交互界面,包括shell解释程序...
本资源摘要信息涵盖了 Linux 系统编程的基础知识点,包括 Linux 命令基础习惯、类 Unix 系统目录结构、目录和文件操作等方面。 一、Linux 命令基础习惯 在 Linux 系统中,掌握基本命令的使用是非常重要的。这些...
在IT领域,系统安全性和操作系统内核结构是两个至关重要的概念,尤其是在UNIX系统中,它们构成了高效、稳定和安全计算环境的基础。让我们深入探讨这两个主题。 首先,我们来看一下“系统安全性”。系统安全性主要...
《UNIX系统内核结构讲解》PPT主要涵盖了UNIX系统的核心组成部分和历史演变,以及它在操作系统领域的地位。以下是对这些内容的详细解析: 1. **UNIX系统概述**: - UNIX是由AT&T Bell实验室的Dennis Ritchie和Ken ...
UNIX系统采用树状目录结构,根目录(/)是树的起点,其他所有目录和文件都挂载在这个树上。 3.4 UNIX文件名称 文件名可以包含字母、数字和下划线,但不能以空格或特殊字符开头。文件名区分大小写,同一目录下不允许...
通过分析源代码,开发者可以深入了解微内核结构、系统服务实现以及类UNIX系统的工作方式。 总之,MINIX 3作为一个类UNIX系统,其简洁的微内核设计、高度模块化的架构、强大的安全特性和高可靠性,使其在嵌入式系统...
以上知识点构成了《深入理解UNIX系统内核》这本书可能包含的内容框架,它们构成了学习和理解类Unix操作系统内部工作原理的基石。这些内容对于希望深入操作系统底层原理的软件工程师、系统管理员、以及计算机科学家来...
本书首先回顾了与全书其他内容切实相关的UNIX系统内幕。回顾的目的是增进读者对UNIX操作系统概念的了解,并且定义随后使用的术语。本书接下来的内容分为3个部分。第一部分“高速缓存存储系统”介绍了高速缓存体系...
【UNIX系统内核结构】是计算机操作系统领域的重要组成部分,它主要涵盖了UNIX操作系统的多个关键方面。本章的学习目标是理解UNIX系统的特点、进程管理、存储器管理、设备管理和文件管理的基本原理。 首先,我们来看...
本篇文章将详细对比三种Unix系统命令,分别是安装与卸载、磁盘与逻辑卷管理和目录结构及系统文件的操作。 首先,让我们探讨Unix系统中的安装与卸载命令。在Unix系统中,`install`命令用于复制文件并设置所有权和...
《Unix系统PPT 北航课件》是北京航空航天大学计算机学院的一份珍贵教学资源,主要涵盖了Unix操作系统的核心概念、设计哲学以及实际应用。通过深入学习这份课件,我们可以了解到Unix系统的基础知识,掌握其核心组件及...
UNIX系统采用树状目录结构,具有良好的安全性,保密性和可维护性。UNIX系统采用进程对换(Swapping)的内存管理机制和请求调页的存储方式,实现了虚拟内存管理,大大提高了内存的使用效率。 UNIX系统提供多种通信...
从手册的目录结构和内容安排来看,它旨在对Linux/UNIX系统编程提供全方位的指导。每个章节都紧密结合实际的编程示例和详尽的解释,这不仅有助于加深理解,还能够指导开发者在实际工作中应用所学知识。 总结来说,这...
为该文件系统设计相应的数据结构来管理目录、磁盘空闲空间、已分配空间等。 提供文件的创建、删除、移位、改名等功能。 提供良好的界面,可以显示磁盘文件系统的状态和空间的使用情况; 提供虚拟磁盘转储功能,可将...