| Deutsch English Français Italiano |
|
<slrnvleknf.apv.jj@iridium.wf32df> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jim Jackson <jj@franjam.org.uk> Newsgroups: comp.unix.programmer Subject: Re: Faking a TTY on a pipe/socketpair Date: Mon, 9 Dec 2024 20:28:31 -0000 (UTC) Organization: A noiseless patient Spider Lines: 41 Message-ID: <slrnvleknf.apv.jj@iridium.wf32df> References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad> <vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me> <vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me> <virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me> Injection-Date: Mon, 09 Dec 2024 21:28:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="1e97bee976fd2dc49c32a1542ed59564"; logging-data="592815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q7kYGJJ4eAQmNHPe8xA7FBabBsuoNcgc=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:luBct/UYzd14pfdLZ9BSB/0BNzk= Bytes: 2504 On 2024-12-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote: > On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote: > >> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC) >> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled: >>> >>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote: >>> >>>> Linux is far closer to the unix philosphy (ignoring systemd) ... >>> >>>Which ???unix philosophy??? would that be? >> >> The one where init does a single task instead of spreading itself >> throughout the system ... > > What ???single task??? did init do? > > * Mount filesystems > * Spawn syslog, cron > * Spawn terminal login processes (getty) > * Respawn terminated getty processes > * Monitor other special stuff in inittab > * Spawn random other services, without monitoring their state > * Act as a general catch-all for orphaned processes when they terminate > > This was all before systemd came on the scene. Actually traditional Unix "init" didn't do ALL those things. Most tended to have the inittab config file. Even busybox's init has. I can't think of a pre-systemd init that mounted filesystems, or spawned things like syslog/cron. It ran other programs/systems that did most of system-bring-up and the process control stuff one of which was SysV initialise setup. Which, surprize though this might sound to some people, was, at the time, an improvement on the startup setups that had been common previously.