[fpc-pascal] Detecting what is the linux distro
David W Noon
david.w.noon at ntlworld.com
Tue Oct 12 17:22:23 CEST 2010
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.noon at ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101012/a082972b/attachment.sig>
More information about the fpc-pascal
mailing list