Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 1998 08:10:48 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Adrian Filipi-Martin <adrian@ubergeeks.com>
Cc:        "John S. Dyson" <dyson@iquest.net>, Eivind Eklund <eivind@yes.no>, 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?)
Message-ID:  <366406F8.AE876A3D@softweyr.com>
References:  <Pine.BSF.3.96.981201013554.4238J-100000@lorax.ubergeeks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.<arch>, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?366406F8.AE876A3D>