Subject: Re: A report on implementing runlevels in NetBSD
To: None <tech-userlevel@netbsd.org>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-userlevel
Date: 12/04/1999 14:40:53
>>>>> "Giles" == Giles Lean <giles@nemeton.com.au> 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
No true.
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: mcr@sandelman.ottawa.on.ca. PGP key available.