From owner-freebsd-hackers Tue Dec 1 07:09:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07319 for freebsd-hackers-outgoing; Tue, 1 Dec 1998 07:09:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from obie.softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07310 for ; Tue, 1 Dec 1998 07:09:04 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (zaphod.softweyr.com [204.68.178.35]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id IAA20669; Tue, 1 Dec 1998 08:11:09 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <366406F8.AE876A3D@softweyr.com> Date: Tue, 01 Dec 1998 08:10:48 -0700 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Adrian Filipi-Martin CC: "John S. Dyson" , Eivind Eklund , rssh@grad.kiev.ua, grog@lemis.com, tlambert@primenet.com, hackers@FreeBSD.ORG Subject: Re: System V init (was: Linux to be deployed in Mexican schools; Where was FreeBSD?) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ADRIAN Filipi-Martin wrote: > > I guess we just see things differently. I view the rc?.d > directories and their name based ordering as a worse morass than the > monolithic BSD rc's. I rarely find them useful, and I rather like being > able to page through the rc and quickly know what's going on. This is no > longer possible once it is broken into 30 or 40 files. Turn around and look at it from the viewpoint of an ISV writing a daemon of some sort. Your installation program needs to setup the daemon to automagically start on system boot, and shutdown cleanly when the system stops. How do you do this? Do you really want them to edit one of YOUR carefully crafted startup scripts? I thought not. > I don't actually believe the BSD rc's are all that monolithic > anyway, oligolithic at best. With rc, rc.serial, rc.pccard, rc.network, > rc.firewall, rc.atm, rc., rc.local and rc.shutdown things are > reasonably broken up, IMHO. And in which one of these do I *add* my voice mail gateway daemon? It's not a pccard, nor a network, nor a firewall, nor an atm, nor an architecture, it's only sort of local, and it's not really serial. The answer is, of course, stick your SYSV-style startup script in /usr/local/etc/rc.d and it will pretty much work, but I'm not sure we've done a good job of explaining that. We should also make it as compatible as possible, to make sure the widest range of start/ stop scripts WILL work. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message