Ben Duncan wrote: > Precisely, But I cut my teeth on 3B2, then the Motorola 3000 series back in > the Mid 19080's, and, I think they executed the init scripts in > order via the inittab with something like: > > > l2:2356:wait:/etc/rc1 > l3:356:wait:/etc/rc2 > > Or to something of that effect ...
I have you beat, just barely. I started out using Xenix in 1981 or 1982 on an Intel 8086 system. :) I've thrown all of those manuals away, but one book that I still have describes AT&T System V Release 2 (copyright 1986) and the init process it describes is virtually identical to what we're using now. And, as you illustrate above, it appears common to define multiple run states in an inittab line. It appears to be a matter of convention. An SCO Unixware 7.3 system that I have here includes the lines: r0:0:wait:/sbin/rc0 off >/dev/console 2>&1 </dev/console r1:1:wait:/sbin/rc1 >/dev/console 2>&1 </dev/console r2:23:wait:/sbin/rc2 >/dev/console 2>&1 </dev/console r3:3:wait:/sbin/rc3 >/dev/console 2>&1 </dev/console r5:5:wait:/sbin/rc0 firm >/dev/console 2>&1 </dev/console r6:6:wait:/sbin/rc0 reboot >/dev/console 2>&1 </dev/console whereas the Debian system I'm on now is: l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 Cheers, from one OF to another! cmr > C M Reinehr wrote: >> Ben Duncan wrote: >> SNIP< >> If I understand your question, you're asking if the processing of run >> levels is a fall-thru process. That is, to boot to runlevel 3, you first >> execute the startup scripts in the rc1.d, rc2.d before executing the >> startup scripts in rc3.d. If so, then I believe you are mistaken. It is my >> understanding that to switch to runlevel 3, the system executes only the >> startup or kill scripts in rc3.d (or, which ever run level you are >> switching too). Also, as Net Llama just said, all of the directory entries >> are symlinks to back to the init.d directory. >> >> Also, for what it's worth, after Caldera self-destructed, I decided to >> migrate to Debian. For an educational environment you might also what to >> take a look at Linux from Scratch. >> >> Cheers! >> >> cmr > > -- Registered Linux User #241964 ---- "Do not meddle in the affairs of Wizards, for they are subtle and quick to anger." -- Samwise Gamgee _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
