Date: Sun, 31 Jan 1999 17:26:42 +0800 From: Peter Wemm <peter@netplex.com.au> To: Wes Peters <wes@softweyr.com> Cc: witr@rwwa.com, dcs@newsguy.com, brandon@roguetrader.com, hackers@FreeBSD.ORG Subject: Re: more modular rc/init/uninit system... Message-ID: <199901310926.RAA02696@spinner.netplex.com.au> In-Reply-To: Your message of "Sat, 30 Jan 1999 23:48:05 MST." <000342b3e1d2fb49_mailit@obie.softweyr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Wes Peters wrote: > Robert Withrow alleged: > > >Regarding using Make for startup: > > > >wes@softweyr.com said: > >:- Good? Bad? Indifferent? > > > >I'd say: more complicated than the job requires. We have a *simpler* > >tool for managing graphs: tsort(1). > > > >If you go back to the process I suggested, you need only tsort the > >dependencies and save it in /var/run. It is then available for use > >to stop selected components. > > OK, I took a few minutes to RTFM. Yes, I can see how tsort could be > brought to bear on this issue. Do you propose to put the dependencies > in the rc scripts, in some grepabble fashion? I suppose if you added > or changed something, you would need to re-run tsort before doing > another start or stop operation, right? > > This seems doable, and an improvement over what we have, and what > SYSV has. The advantage of make is that you could do a 'make -j12 boot' style thing to fire off job initialization in parallel and still maintain dependencies. Of course, this could be argued to be a disasvantage too. :-) Cheers, -Peter -- Peter Wemm <peter@netplex.com.au> Netplex Consulting "No coffee, No workee!" :-) 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?199901310926.RAA02696>