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).


Brian O'Shea

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to