Adding /usr/local/etc/rc.d to the base rcorder

Yar Tikhiy yar at comp.chem.msu.su
Fri Dec 2 08:06:19 GMT 2005


On Wed, Nov 30, 2005 at 05:20:11PM -0800, Doug Barton wrote:
> > On Tue, Nov 29, 2005 at 03:13:37AM -0800, Doug Barton wrote:
> > 
> >>My patch to implement all this is at
> >>http://people.freebsd.org/~dougb/local-rcorder.diff. Comments are welcome.
> > 
> > 
> > This looks pretty good to me.  Thanks for working on this. 

Please accept my appreciation of your efforts, too!

> > A few comments:
> > 
> > - I have this vague feeling that we should replace most dependencies on
> >   mountcritremote with a new pseudo target like FILESYSTEMS or MOUNTS.
> >   This isn't important. :)
> 
> Right, this can be revisited later if needed. The more I thought about this
> the more I liked the concept of what JR suggested, although obviously I
> implemented it in a slightly different manner. I'm hesitant to add more
> pseudo-targets, as I think using mountcritremote is a good "clear bright
> line" for this purpose. I also have a fantasy down the road (not sure how to
> implement it yet) of making the point to split early/late configurable. For
> example, I can imagine a scenario where someone might want to put the split
> at mountcritlocal. However, this is a good safe place to start.

With a pseudo-target for filesystems, will we still need the split
hardcoded in /etc/rc?  Using a single run of rcorder should be
sufficient if all our rc.d scripts specify correct interdependencies
between each other.  Using the pseudo-target would be a natural way
of doing so while keeping the possibility to move the split up and
down the boot sequence.

-- 
Yar


More information about the freebsd-rc mailing list