1 |
On 05/02/2011 02:43 AM, Mick wrote: |
2 |
|
3 |
> I've been through the migration guide. In the section about udev it mentions |
4 |
> /etc/runlevels/sysinit. Is this something added by baselayout2/OpenRC? I |
5 |
> don't seem to have this in my runlevels: |
6 |
> |
7 |
> $ ls -l /etc/runlevels/ |
8 |
> total 16 |
9 |
> drwxr-xr-x 2 root root 4096 Jan 18 20:39 boot |
10 |
> drwxr-xr-x 2 root root 4096 Jun 8 2010 default |
11 |
> drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork |
12 |
> drwxr-xr-x 2 root root 4096 Jan 21 2010 single |
13 |
|
14 |
The confusion with all of this booting stuff goes back to the very dawn |
15 |
of unix, long before linux appeared. I learned at the knee of someone who |
16 |
actually remembers the dawn -- but of course I'm much too young myself :p |
17 |
|
18 |
The conflict between "environment" and "profile", the origins of ".profile" |
19 |
and ".bashrc" go back IIRC to the competition between sh, csh, and bash for |
20 |
dominance -- not to mention ksh, tsh, foosh, and barsh, bahsh etc, etc. |
21 |
|
22 |
Each shell had its own private configuration file(s), which needed distinct |
23 |
names, of course, to avoid chaos. Chaos prevailed, predictably, because of |
24 |
these conflicting standards, and you/we are still dealing with the problem |
25 |
today. (No, I am NOT complaining, I'd be bragging except I had nothing to do |
26 |
with any of it. But I did have the honor of meeting many very smart people |
27 |
who do have real bragging rights.) |
28 |
|
29 |
Anyway, to answer your specific question, |
30 |
|
31 |
#equery b sysinit |
32 |
* Searching for sysinit ... |
33 |
sys-apps/openrc-0.8.2-r1 (/usr/share/openrc/runlevels/sysinit) |
34 |
|
35 |
#equery b inittab |
36 |
* Searching for inittab ... |
37 |
sys-apps/sysvinit-2.88-r1 (/etc/inittab) |
38 |
|
39 |
Why did I search for inittab? Here's a wee hint while I'm off to bed: |
40 |
|
41 |
#grep sysinit /etc/inittab |
42 |
si::sysinit:/sbin/rc sysinit |