Am 12.10.2010 19:13, schrieb Marco van de Voort:
In our previous episode, David W Noon said:
ArchLinux does not use a System V init system, but a simpler BSD one.
And thus it does not use /etc/init.d, but only /etc/rc.d.

So does the BSD init use run levels?

Yes.

One of the major distinctions
between /etc/init.d/ and /etc/rc.d is that the latter is segregated by
run levels, so that each daemon can have a different environment for
different run levels.

..  but the mark of the sysV layout is the script per daemon per runtime
level. Sometimes it is simplified by making symlinks though.

While classic (pre SysV) Unix (including BSD) has just one or two scripts
that handle everything.

Modern BSD (like current FreeBSD) currently afaik do have a script per
daemon btw, just not the added dimension of runlevels.

ArchLinux also uses only one script per daemon which is located in /etc/rc.d/.

The only difference that a runlevel has in ArchLinux is whether the multiuser or the singleuser rc file (which is in /etc/) is called. But this doesn't influence the daemons in /etc/rc.d/.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to