Hey,
I'm running a distro called Knoppmyth, and I'm studying the boot process.
In my /etc/inittab script it reads:
Quote:
10:0:wait:/etc/init.d/rc 0
11:1:wait:/etc/init.d/rc 1
12:2:wait:/etc/init.d/rc 2
and so on ...
|
From this I expected that there would be directories named /etc/init.d/rc 0, and /etc/init.d/rc 1, (and so on). But these directories do not exist on my machine.
However, there are /etc/rc0.d, /etc/rc1.d , (and so on) directories. These directories are filled with K** and S** links to various init.d/* files. (Example: S35networking -> ../init.d/networking)
Long story short, because of inittab's references, I expected to find a whole bunch of S... and K... files in the /etc/init.d/rc # directories, not in the /etc/rc#.d directories.
I don't understand why a file as rudimentry as inittab would reference several files that do not exist? And I don't understand how the machine knows to use the etc/rc#.d directories. (I might be incorrectly assuming that the /etc/rc#.d directories are reference at boot.)
Is this typical, or is this a particular to Knoppmyth -- which is a specialized distro?