Deutsch English Français Italiano |
<vj91a1$t8pn$1@dont-email.me> 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: Muttley@DastardlyHQ.org Newsgroups: comp.unix.programmer Subject: Re: Faking a TTY on a pipe/socketpair Date: Tue, 10 Dec 2024 09:23:13 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: <vj91a1$t8pn$1@dont-email.me> 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> <slrnvleknf.apv.jj@iridium.wf32df> <wwvfrmv3os3.fsf@LkoBDZeT.terraraq.uk> Injection-Date: Tue, 10 Dec 2024 10:23:14 +0100 (CET) Injection-Info: dont-email.me; posting-host="765bccbb4989363ae0e9b6e61725621f"; logging-data="959287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197O1m21ydKX5zWzZSOqfvy" Cancel-Lock: sha1:Z6jKhRih6BvFfBDQnJORr+kSvgs= Bytes: 2308 On Tue, 10 Dec 2024 08:50:20 +0000 Richard Kettlewell <invalid@invalid.invalid> wibbled: >Jim Jackson <jj@franjam.org.uk> writes: >> On 2024-12-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote: >>> 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. > >Depends if you mean init=/sbin/init or init=the entire sysvinit system. >If you(plural) are going talk about init systems then you need to agree >terms. Its probably fair to say that because the traditional init system uses shell scripts and hence can do anything you like they often did. But the core part should really just be limited to starting the machine and getting enough things running for a user to log on (or if its a black box to do its task).