FHS Organization
5
1.2.1.4. The
/lib/
Directory
The
/lib/
directory should contain only those libraries needed to execute the binaries in
/bin/
and
/sbin/
. These shared library images are particularly important for booting the system and executing
commands within the root file system.
1.2.1.5. The
/media/
Directory
The
/media/
directory contains subdirectories used as mount points for removeable media such as
usb storage media, DVDs, CD-ROMs, and Zip disks.
1.2.1.6. The
/mnt/
Directory
The
/mnt/
directory is reserved for temporarily mounted file systems, such as NFS file system
mounts. For all removeable media, please use the
/media/
directory. Automatically detected
removeable media will be mounted in the
/media
directory.
Note
The
/mnt
directory must not be used by installation programs.
1.2.1.7. The
/opt/
Directory
The
/opt/
directory provides storage for most 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.
Packages that encompass many different sub-packages, data files, extra fonts, clipart etc 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.
1.2.1.8. The
/proc/
Directory
The
/proc/
directory contains special files that either extract information from or send information to
the kernel. Examples include system memory, cpu information, hardware configuration etc.
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 3, The
proc
File System
.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...