hier.5 (2010 09)

h
hier(5) hier(5)
NAME
hier - file system hierarchy
DESCRIPTION
The HP-UX file system is a hierarchical tree organized for administrative convenience. Within the file-
system tree structure, distinct areas are provided for files that are private to one machine, files that can
be shared by machines, and home directories.
There are two types of files that are shared: those that can be shared by multiple machines of a common
architecture, and those that can be shared by all machines. This organization allows sharable files to be
stored on one machine (the server), but accessed by many machines (clients).
The following diagram illustrates the file system layout. Note that there are many directories that are
not is this diagram, but are discussed below.
Diagram of Directory Layout
|---- dev
| |---- bin
|---- etc | |---- bin
| |---- ccs ------ |
|---- usr ------ | |---- lib
/ --- | |---- lib
|---- sbin |
| |---- sbin
|---- var |
| |---- lbin
|---- home |
| |---- include |---- dict
|---- opt | |
| |---- share ----- |---- lib
|---- (export) |
|---- man
The following listing discusses a representative HP-UX directory hierarchy. Some HP-UX applications
may add additional directories, which are not shown.
/ Root directory.
/dev Special files (block and character device files); see mknod(1M).
/etc Host-specific configuration and administration databases.
/etc/opt Directory for application-specific configuration files. (Configuration informa-
tion for optional packages.)
/etc/rc.config.d Startup configuration files.
/export Default root of exported file systems. Server only.
/home Default root for user directories.
/lost+found Storage directory for connecting detached files; for use by fsck(1M).
/mnt Mounting point for local file systems.
/net Mounting point for remote file systems.
/opt Root of subtree for optional application packages.
/sbin Essential system commands. Essential commands are defined as executables
that are needed to boot the system and mount the file systems. A full comple-
ment of utilities is available only after
/usr is mounted.
/sbin/init.d Startup and shutdown scripts.
/sbin/rc0.d Link files to scripts in
/sbin/init.d for entering or leaving run level 0.
/sbin/rc1.d Link files to scripts in
/sbin/init.d for entering or leaving run level 1.
/sbin/rc2.d Link files to scripts in
/sbin/init.d for entering or leaving run level 2.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)