Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 1998 00:11:56 +1030
From:      Leigh Hart <hart@at.dotat.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: /etc/rc.d, and changes to /etc/rc? 
Message-ID:  <199811181341.AAA20136@at.dotat.com>
In-Reply-To: Your message of "Wed, 18 Nov 1998 00:47:26 CDT." <Pine.BSF.3.96.981118001620.1471B-100000@lorax.ubergeeks.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Adrian,

ADRIAN Filipi-Martin <adrian@ubergeeks.com> wrote:
> 
> Most vendors that have start/stop scripts don't do a good job at
> it.

Certainly that's no reason for FreeBSD not to consider doing it,
after all, it is a vastly superior product considering the price,
surely we can organise a set of scripts to work properly, no?

> The ratsnest of sym/hard links is ridiculous and finding where a
> start/stop script is run from is annoying. 

Nik didn't suggest using rcX.d run level based scripts (init doesn't
support them anyway), and even if it was suggested, any good admin
shouldn't have any trouble finding the original script, as it should
be in rc.d or init.d, depending on your variant - the run level scripts
should be the sym/hard link, not the other way around.

> 	Now, consider the following.
> 
> Total lines in FreeBSD-2.2.6 /etc/rc.*
>     1347 total
> 
> Total lines in IRIX 6.5's /etc/{b,}rc* and init.d scripts:
>           4873 total
> 
> I think it would be fair to say the number of lines of rc-code
> would be substantially larger under FreeBSD if converted to
> start/stop scripts.  The brevity and flexability is one of the
> current BSD rc files.

IRIX 6.5's init.d scripts are huge not because of useful content,
but because of copyright and documentation bloat.  That, and the
"chkconfig" and other "parameter" setting tools, makes IRIX 6.5's
scripts huge, again, something Nik wasn't proposing.

Cheers

Leigh
-- 
| "By the time they had diminished | Leigh Hart, <hart@dotat.com> |
|  from 50 to 8, the other dwarves | Dotat Communications Pty Ltd |
|  began to suspect 'Hungry' ..."  | GPO Box 487 Adelaide SA 5001 |
|   -- Gary Larson, "The Far Side" |  http://www.dotat.com/hart/  |

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?199811181341.AAA20136>