Chapter 1. File System Structure
4
1.2.1.1. The
/boot/
Directory
The
/boot/
directory contains static files required to boot the system, such as the Linux kernel.
These files are essential for the system to boot properly.
Warning
Do not remove the
/boot/
directory. Doing so renders the system unbootable.
1.2.1.2. The
/dev/
Directory
The
/dev/
directory contains device nodes that either represent devices that are attached to the
system or virtual devices that are provided by the kernel. These device nodes are essential for the
system to function properly. The
udev
demon takes care of creating and removing all these device
nodes in
/dev/
.
Devices in the
/dev
directory and subdirectories are either character (providing only a serial stream
of input/output) or block (accessible randomly). Character devices include mouse, keyboard, modem
while block devices include hard disk, floppy drive etc. If you have GNOME or KDE installed in
your system, devices such as external drives or cds are automatically detected when connected
(e.g via usb) or inserted (e.g via CD or DVD drive) and a popup window displaying the contents is
automatically displayed. Files in the
/dev
directory are essential for the system to function properly.
File
Description
/dev/hda
The master device on primary IDE channel.
/dev/hdb
The slave device on primary IDE channel.
/dev/tty0
The first virtual console.
/dev/tty1
The second virtual console.
/dev/sda
The first device on primary SCSI or SATA
channel.
/dev/lp0
The first parallel port.
Table 1.1. Examples of common files in the
/dev
1.2.1.3. The
/etc/
Directory
The
/etc/
directory is reserved for configuration files that are local to the machine. No binaries are to
be placed in
/etc/
. Any binaries that were once located in
/etc/
should be placed into
/sbin/
or
/
bin/
.
Examples of directories in
/etc
are the
X11/
and
skel/
:
/etc
|- X11/
|- skel/
The
/etc/X11/
directory is for X Window System configuration files, such as
xorg.conf
. The
/
etc/skel/
directory is for "skeleton" user files, which are used to populate a home directory when a
user is first created. Applications also store their configuration files in this directory and may reference
them when they are executed.
Содержание 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 ...