From owner-freebsd-current Mon Jul 10 8:11:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 30DA937B52C for ; Mon, 10 Jul 2000 08:11:16 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p29-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.158]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id AAA08171; Tue, 11 Jul 2000 00:11:09 +0900 (JST) Message-ID: <3969D84A.D23A84B6@newsguy.com> Date: Mon, 10 Jul 2000 23:06:02 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Mike Meyer Cc: clefevre@citeweb.net, freebsd-current@FreeBSD.ORG Subject: Re: etc/rc.d & things... References: <14695.51428.314772.426883@guru.mired.org> <14697.31325.422020.803101@guru.mired.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Meyer wrote: > > Yes, that's correct. And yes, not all is bad in SysV. In particular, > having a directory where you can find scripts to stop (and restart) > subsystems is very nice. I think the multiple levels (rc?.d) is a bit > of overkill. Either the system is up (meaning everything is turned > on), or it's down, and the sysadmin who brought it down can start the > subsystems s/he needs. Having a single init.d to look in for those > things helps in that process. The multiple levels are there to deal with changes in state. In BSD, for instance, we have single user/multi-user. A number of other variations can exist, both in heavy duty servers where you might want to bring certain services down for upgrade and then back up, and "desktop" machines, such as notebooks where you can be stand-alone, docked into different networks (eg. home/work). Thing is, SysV does it in a very ugly way, and not flexible enough either. This has been talked to death. Look at these: http://www.freebsd.org/~dfr/devices.html http://www.freebsd.org/~eivind/newrc.html and my favorite substitute proposal: http://www.roguetrader.com/~brandon/sas/. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.great.underground.bsdconpiracy.org _DES: The Book of Bruce has only one sentence in it, and it says "the actual directives of my cult are left as an exercise for the reader. Good luck." jkh: does it really include the 'good luck' part? EE: OK, I made that part up. EE: I figured it should sound a bit more cheery than how Bruce initially dictated it to me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message