mounts. For all removeable media, use the
/media/
directory.
Note
This directory must not be used by installation programs.
2.1.7. The
/opt/
Directory
The
/opt/
directory provides storage for large, static application software packages.
A package placing files in the
/opt/
directory creates a directory bearing the same name as the
package. This directory, in turn, holds files that otherwise would be scattered throughout the file
system, giving the system administrator an easy way to determine the role of each file within a
particular package.
For example, if
sample
is the name of a particular software package located within the
/opt/
directory, then all of its files are placed in directories inside the
/opt/sample/
directory, such as
/opt/sample/bin/
for binaries and
/opt/sample/man/
for manual pages.
Large packages that encompass many different sub-packages, each of which accomplish a
particular task, are also located in the
/opt/
directory, giving that large package a way to
organize itself. In this way, our
sample
package may have different tools that each go in their
own sub-directories, such as
/opt/sample/tool1/
and
/opt/sample/tool2/
, each of which
can have their own
bin/
,
man/
, and other similar directories.
2.1.8. The
/proc/
Directory
The
/proc/
directory contains special files that either extract information from or send
information to the kernel.
Due to the great variety of data available within
/proc/
and the many ways this directory can be
used to communicate with the kernel, an entire chapter has been devoted to the subject. For
more information, refer to
Chapter 5, The
proc
File System
.
2.1.9. The
/sbin/
Directory
The
/sbin/
directory stores executables used by the root user. The executables in
/sbin/
are
only used at boot time and perform system recovery operations. Of this directory, the FHS says:
/sbin
contains binaries essential for booting, restoring, recovering, and/or
repairing the system in addition to the binaries in
/bin
. Programs executed
after
/usr/
is known to be mounted (when there are no problems) are generally
placed into
/usr/sbin
. Locally-installed system administration programs should
be placed into
/usr/local/sbin
.
At a minimum, the following programs should be in
/sbin/
:
FHS Organization
27
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......