On Tue, 12 Oct 2010 16:29:42 +0200, Sven Barth wrote about Re:
[fpc-pascal] Detecting what is the linux distro:

> Am 12.10.2010 14:01, schrieb David W Noon:
[snip]
> > This is a consequence of using an init process based on the System V
> > model.
> 
> 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?  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.  All of the actual init scripts in my /etc/rc.d/
ultimately resolve to symlinks into /etc/init.d/, which is typical for
any System V style system.

Indeed, this makes installing a script directly into /etc/rc.d/ a
strict no-no under Gentoo, as all insertions into a run level have to
be performed by the sysadmin by hand; other Linuxes are more
permissive, though.  Consequently, I would never want any program to
install anything into that directory, except by the rc-update program
run by hand.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
david.w.n...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Attachment: signature.asc
Description: PGP signature

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

Reply via email to