Sujet : Re: Faking a TTY on a pipe/socketpair
De : rweikusat (at) *nospam* talktalk.net (Rainer Weikusat)
Groupes : comp.unix.programmerDate : 10. Dec 2024, 22:01:56
Autres entêtes
Message-ID : <87v7vrjlq3.fsf@doppelsaurus.mobileactivedefense.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Mon, 9 Dec 2024 20:28:31 -0000 (UTC), Jim Jackson wrote:
>
Actually traditional Unix "init" didn't do ALL those things.
>
sysvinit certainly did. That is the usual standard of comparison, is it
not?
It certainly didn't. sysvinit is a program. There source code is, for example, online
here
https://github.com/slicer69/sysvinit/blob/main/src/init.cand all this does is execute configurable other programs in a couple of
different ways (mostly respawn, exec once and exec once and wait for it)
in response to runlevel changes.