Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 13:48:43 -0700
From:      "Brian O'Shea" <boshea@ricochet.net>
To:        "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        bv@wjv.com, freebsd-current@FreeBSD.ORG
Subject:   Re: new rc.network6 and rc.firewall6
Message-ID:  <20001023134843.Y622@beastie.localdomain>
In-Reply-To: <20001023010526.A6883@dragon.nuxi.com>; from David O'Brien on Mon, Oct 23, 2000 at 01:05:27AM -0700
References:  <ume@mahoroba.org> <81966.972151537@winston.osd.bsdi.com> <20001022153957.A4742@dragon.nuxi.com> <20001022214151.C7279@wjv.com> <20001023010526.A6883@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 23, 2000 at 01:05:27AM -0700, David O'Brien wrote:
> On Sun, Oct 22, 2000 at 09:41:51PM -0400, Bill Vermillion wrote:
> > One of the reasons for the numbers in the SysVR4 arena is to
> > set the order of execution so programs which other depend upon
> > are executed first.  How does the NetBSD solve this problem.
> 
> Very coolly.  The main rc script runs a script named `rcorder' to
> generate the proper order.  rc.shutdown also uses `rcorder' but reverses
> the ordering.  Two examples are included below to show what `rcorder'
> uses to generate the list.  These NetBSD rc files also provide "start",
> "stop", "restart", "status", etc. commands to assist the sysadmin.
> Again, *very* slick and still quite BSD-like.

Sounds interesting.  To add a new rc script to the system, do you have
to add an entry to an "rc order list" somewhere (in addition to adding
the new script)?  How is that handled?  The nice (or clumsy, depending
on your point of view) part about the SysV way is that the order in
which the rc scripts are executed is implicit in the scripts' names.
Of course, they have added a symlink maze (worse, hard links on HP-UX)
on top of that, making it tedious to maintain rc scripts by hand
(maybe that was by design).

[snip]

-- 
Brian O'Shea
boshea@ricochet.net


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?20001023134843.Y622>