Chapter 33. Boot Process, Init, and Shutdown
356
The
init
command then runs the
/etc/inittab
script, which describes how the system should
be set up in each
SysV init runlevel
. Runlevels are a state, or
mode
, defined by the services listed
in the SysV
/etc/rc.d/rc
<x>
.d/
directory, where
<x>
is the number of the runlevel. For more
information on SysV init runlevels, refer to
Section 33.4, “SysV Init Runlevels”
.
Next, the
init
command sets the source function library,
/etc/rc.d/init.d/functions
, for the
system, which configures how to start, kill, and determine the PID of a program.
The
init
program starts all of the background processes by looking in the appropriate
rc
directory
for the runlevel specified as the default in
/etc/inittab
. The
rc
directories are numbered to
correspond to the runlevel they represent. For instance,
/etc/rc.d/rc5.d/
is the directory for
runlevel 5.
When booting to runlevel 5, the
init
program looks in the
/etc/rc.d/rc5.d/
directory to
determine which processes to start and stop.
Below is an example listing of the
/etc/rc.d/rc5.d/
directory:
K05innd > ../init.d/innd
K05saslauthd > ../init.d/saslauthd
K10dc_server > ../init.d/dc_server
K10psacct > ../init.d/psacct
K10radiusd > ../init.d/radiusd
K12dc_client > ../init.d/dc_client
K12FreeWnn > ../init.d/FreeWnn
K12mailman > ../init.d/mailman
K12mysqld > ../init.d/mysqld
K15httpd > ../init.d/httpd
K20netdumpserver > ../init.d/netdumpserver
K20rstatd > ../init.d/rstatd
K20rusersd > ../init.d/rusersd
K20rwhod > ../init.d/rwhod
K24irda > ../init.d/irda
K25squid > ../init.d/squid
K28amd > ../init.d/amd
K30spamassassin > ../init.d/spamassassin
K34dhcrelay > ../init.d/dhcrelay
K34yppasswdd > ../init.d/yppasswdd
K35dhcpd > ../init.d/dhcpd
K35smb > ../init.d/smb
K35vncserver > ../init.d/vncserver
K36lisa > ../init.d/lisa
K45arpwatch > ../init.d/arpwatch
K45named > ../init.d/named
K46radvd > ../init.d/radvd
K50netdump > ../init.d/netdump
K50snmpd > ../init.d/snmpd
K50snmptrapd > ../init.d/snmptrapd
K50tux > ../init.d/tux
K50vsftpd > ../init.d/vsftpd
K54dovecot > ../init.d/dovecot
K61ldap > ../init.d/ldap
K65kadmin > ../init.d/kadmin
K65kprop > ../init.d/kprop
K65krb524 > ../init.d/krb524
K65krb5kdc > ../init.d/krb5kdc
K70aep1000 > ../init.d/aep1000
K70bcm5820 > ../init.d/bcm5820
K74ypserv > ../init.d/ypserv
K74ypxfrd > ../init.d/ypxfrd
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 12: ...xii ...
Страница 20: ......
Страница 30: ...12 ...
Страница 32: ...14 ...
Страница 82: ...64 ...
Страница 106: ...88 ...
Страница 122: ...104 ...
Страница 124: ...106 ...
Страница 126: ......
Страница 132: ...114 ...
Страница 168: ...150 ...
Страница 182: ...164 ...
Страница 192: ...174 ...
Страница 194: ......
Страница 236: ...218 ...
Страница 238: ...220 ...
Страница 270: ......
Страница 274: ...256 ...
Страница 278: ...260 ...
Страница 292: ...274 ...
Страница 294: ......
Страница 300: ...282 ...
Страница 304: ......
Страница 316: ...298 ...
Страница 357: ...Creating Partitions 339 Figure 32 7 Creating a Software RAID Device 4 Click OK to add the device to the list ...
Страница 370: ...352 ...
Страница 384: ...366 ...
Страница 385: ...Part VII Appendix ...
Страница 386: ......