Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 19:16:55 -0500 (EST)
From:      ADRIAN Filipi-Martin <adrian@ubergeeks.com>
To:        Nik Clayton <nik@nothing-going-on.demon.co.uk>
Cc:        current@FreeBSD.ORG
Subject:   Re: /etc/rc.d, and changes to /etc/rc?
Message-ID:  <Pine.BSF.3.96.981117190738.925F-100000@lorax.ubergeeks.com>
In-Reply-To: <19981117235709.20735@nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Nov 1998, Nik Clayton wrote:

> Folks,
> 
> [ Originally posted to -hackers. Forwarded to -current at Robert Nordier's
>   request, apparently fewer developers than I thought read -hackers.
> 
>   Reply-to *not* set, I can read replies in either -hackers or -current,
>   and this is probably -current material as much as it is -hackers ]
> 
> During the day job, I use Solaris. This is not, in and of itself, a bad
> thing.
> 
> Solaris uses run levels. I don't particularly like them, but I tolerate
> them. I *don't* want to bring run levels (or even, if Terry's reading,
> run states) to FreeBSD.

	I'd recommend searching the mail archives for this issue.  It has
com e up many times and been shot down every time so far.

	IMHO, the start/stop scripts don't really add much.  The
granularity is usually too large for my tastes.  e.g. the NFS start/stop
scripts on most systems kill/start all of the daemons, when I typically
just want to HUP or kill/restart one.  Then you also slow booting
somewhat.  Look at the PID for your first login shell on FreeBSD and
solaris and compare.  I think you'll be surprised with about the number of
exec's.  Don't evendare to suggest sourcing the start/stop scripts.  That
is one of my biggest beefs with solaris' sysv init files is that some are
sourced, some are exec'ed and all of them are run with the same shell
regardless of the #!.

	I say leave well enough alone.  It's wasted effort. The start/stop
directory under /usr/local is enough to satisfy the thrid party software
that wants to install without editing the rc-files.  All the core services
are in existing rc-files and it is just reinventing the wheel to rewite
them as a bunch of separate files instead of a few. 

	Adrian
--
[ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981117190738.925F-100000>