[Gllug] Debian startup etc

Chris Jones cmsj at tenshu.net
Thu Mar 15 17:07:57 UTC 2007


Hi

john gennard wrote:
> I 'kind of' got most of that, but I don't see how the command
> in /etc/init.d/ makes something in /etc/rcS.d run.

/etc/init.d/rc is a script which takes an argument (the runlevel you
want to run).

Somewhere inside it, it will be doing a little loop that runs anything
in the runlevel you want to run, in order.

> Furthermore, I've seen nothing of a runlevel 'S' - I know about
> '0 to 6' and even 7 for X and beyond.

S is the startup runlevel in Debian-like systems, it's what gets run
before you switch into runlevel2 and does the things required to allow 2
(or whatever) to run, so it starts udev/devfs, mounts all your
filesystems, etc.

It's the equivalent of rc.sysinit on a RedHat machine, if you're more
familiar with that.

Cheers,
-- 
Chris Jones
  cmsj at tenshu.net
   www.tenshu.net
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list