From owner-freebsd-hackers Sat Jan 30 22:49:12 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20019 for freebsd-hackers-outgoing; Sat, 30 Jan 1999 22:49:12 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from obie.softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA20012 for ; Sat, 30 Jan 1999 22:49:07 -0800 (PST) (envelope-from wes@softweyr.com) Received: from obie.softweyr.com (zaphod.softweyr.com [204.68.178.35]) by obie.softweyr.com (8.8.8/8.8.8) with SMTP id XAA00618; Sat, 30 Jan 1999 23:48:10 -0700 (MST) (envelope-from wes@softweyr.com) Subject: Re: more modular rc/init/uninit system... From: Wes Peters In-Reply-To: <199901301748.MAA03171@spooky.rwwa.com> Message-ID: <000342b3e1d2fb49_mailit@obie.softweyr.com> References: <199901301748.MAA03171@spooky.rwwa.com> Date: Sat, 30 Jan 1999 23:48:05 -0700 X-Mailer: BeatWare Mail-It 2.0 X-BeOS-Platform: Intel or clone X-Priority: 3 (Normal) To: witr@rwwa.com Cc: dcs@newsguy.com, brandon@roguetrader.com, witr@rwwa.com, hackers@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message