The
/sbin/init
Program
357
K85mdmpd > ../init.d/mdmpd
K89netplugd > ../init.d/netplugd
K99microcode_ctl > ../init.d/microcode_ctl
S04readahead_early > ../init.d/readahead_early
S05kudzu > ../init.d/kudzu
S06cpuspeed > ../init.d/cpuspeed
S08ip6tables > ../init.d/ip6tables
S08iptables > ../init.d/iptables
S09isdn > ../init.d/isdn
S10network > ../init.d/network
S12syslog > ../init.d/syslog
S13irqbalance > ../init.d/irqbalance
S13portmap > ../init.d/portmap
S15mdmonitor > ../init.d/mdmonitor
S15zebra > ../init.d/zebra
S16bgpd > ../init.d/bgpd
S16ospf6d > ../init.d/ospf6d
S16ospfd > ../init.d/ospfd
S16ripd > ../init.d/ripd
S16ripngd > ../init.d/ripngd
S20random > ../init.d/random
S24pcmcia > ../init.d/pcmcia
S25netfs > ../init.d/netfs
S26apmd > ../init.d/apmd
S27ypbind > ../init.d/ypbind
S28autofs > ../init.d/autofs
S40smartd > ../init.d/smartd
S44acpid > ../init.d/acpid
S54hpoj > ../init.d/hpoj
S55cups > ../init.d/cups
S55sshd > ../init.d/sshd
S56rawdevices > ../init.d/rawdevices
S56xinetd > ../init.d/xinetd
S58ntpd > ../init.d/ntpd
S75postgresql > ../init.d/postgresql
S80sendmail > ../init.d/sendmail
S85gpm > ../init.d/gpm
S87iiim > ../init.d/iiim
S90canna > ../init.d/canna
S90crond > ../init.d/crond
S90xfs > ../init.d/xfs
S95atd > ../init.d/atd
S96readahead > ../init.d/readahead
S97messagebus > ../init.d/messagebus
S97rhnsd > ../init.d/rhnsd
S99local > ../rc.local
As illustrated in this listing, none of the scripts that actually start and stop the services are located in
the
/etc/rc.d/rc5.d/
directory. Rather, all of the files in
/etc/rc.d/rc5.d/
are
symbolic links
pointing to scripts located in the
/etc/rc.d/init.d/
directory. Symbolic links are used in each of
the
rc
directories so that the runlevels can be reconfigured by creating, modifying, and deleting the
symbolic links without affecting the actual scripts they reference.
The name of each symbolic link begins with either a
K
or an
S
. The
K
links are processes that are
killed on that runlevel, while those beginning with an
S
are started.
The
init
command first stops all of the
K
symbolic links in the directory by issuing the
/etc/rc.d/
init.d/
<command>
stop
command, where
<command>
is the process to be killed. It then starts all
of the
S
symbolic links by issuing
/etc/rc.d/init.d/
<command>
start
.
Содержание 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: ......