From owner-freebsd-hackers Sun Jun 23 09:00:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA04726 for hackers-outgoing; Sun, 23 Jun 1996 09:00:43 -0700 (PDT) Received: from mole.mole.org (marmot.mole.org [204.216.57.191]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA04721 for ; Sun, 23 Jun 1996 09:00:40 -0700 (PDT) Received: (from mail@localhost) by mole.mole.org (8.6.12/8.6.12) id PAA06376; Sun, 23 Jun 1996 15:59:15 GMT Received: from meerkat.mole.org(206.197.192.110) by mole.mole.org via smap (V1.3) id sma006374; Sun Jun 23 15:59:10 1996 Received: (from mrm@localhost) by meerkat.mole.org (8.6.11/8.6.9) id IAA06629; Sun, 23 Jun 1996 08:59:09 -0700 Date: Sun, 23 Jun 1996 08:59:09 -0700 From: "M.R.Murphy" Message-Id: <199606231559.IAA06629@meerkat.mole.org> To: alk@Think.COM, terry@lambert.org Subject: Re: cvs commit: src/etc/mtree BSD.usr.dist Cc: hackers@freefall.freebsd.org, phk@FreeBSD.org Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I'd go further; /bin/sh is evil, as are any other scripting systems > where it's possible to have the data embedded in the script instead > of operated on by a tool. The only reason I don't call for its > removal is that the installation and the system startup (incorrectly) > depend on it, and /bin/csh is more evil. As the default system shell, > it has to be there, but that makes it no less annoying. Look at > the /etc/rc* mess that /bin/sh has gotten us into because it was > more convenient than Doing Things The Right Way. 8-(. Not using scripting languages makes the system behave exactly as the developers intended and makes it more difficult for consumers to modify the system to meet their own needs. If that's the goal, go for it. System startup does not incorrectly depend upon a scripted shell. It is _designed_ to used a scripted shell. It's not just an accident or matter of expediency. That it is /bin/sh is immaterial. I'll agree that /bin/csh is inappropriate, but a working /bin/sh or Plan 9 rc is just fine. Implementation of policy for seldom invoked activity in editable script is a Fine Thing Indeed. Is /etc/rc kludged a wee tad? Sure. If I feel like replacing it with a System V like init.d driven startup, that's my choice. So is installing a System V like init and inittab. "Doing Things The Right Way" is, of course, a matter of perspective. -- Mike Murphy mrm@Mole.ORG +1 619 598 5874 Better is the enemy of Good