Subject: Re: A report on implementing runlevels in NetBSD
To: None <firstname.lastname@example.org>
From: Michael C. Richardson <email@example.com>
Date: 12/04/1999 14:40:53
>>>>> "Giles" == Giles Lean <firstname.lastname@example.org> writes:
Giles> 1. runlevels 2. respawning of daemons
Giles> To take the second point first, this is trivially done via:
Giles> #! /bin/sh
Giles> while : do "$@" done
1) this is vulnerable to /bin/sh disappearing, bring broken, etc.
2) the script can be killed
As pid=1, if init dies, the system dies.
Some people want to build systems that are too small to have /bin/sh.
I've seen lots of Xenix 286 systems like this as POS terminals.
Other than that, I agree with you.
:!mcr!: | Cow#1: Are you worried about getting Mad Cow Disease?
Michael Richardson | Cow#2: No. I'm a duck.
Home: email@example.com. PGP key available.