Subject: Re: Not quite sure where to send this
To: Greywolf <greywolf@starwolf.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-userlevel
Date: 08/17/2002 14:46:56
On Fri, Aug 16, 2002 at 11:27:07AM -0700, Greywolf wrote:
  | Martin, danke!
  | 
  | I'm going over the problem, and it seems there are several other
  | scripts in /etc/rc which could trigger this behaviour.  I'm not so
  | sure that doing this going forward is such a hot idea.  It's prone
  | to frailty (downinterfaces is a perfect example of this).
  | 
  | I have a question:
  | 
  | rc_fast_and_loose's purpose is to avoid spawning a subshell for each
  | script.  Is this measure done in order to avoid the overhead associated
  | with the fork(), or is it to avoid the constant re-reading of rc.conf?

The former (reducing fork())
load_rc_conf() only loads rc.conf once.