From owner-freebsd-hackers Tue Sep 26 00:30:56 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA21692 for hackers-outgoing; Tue, 26 Sep 1995 00:30:56 -0700 Received: from healer.com (healer-gw.Empire.Net [205.164.80.204]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA21681 for ; Tue, 26 Sep 1995 00:30:50 -0700 Received: (from gryphon@localhost) by healer.com (8.6.11/8.6.9.1) id DAA16047; Tue, 26 Sep 1995 03:33:42 -0400 Date: Tue, 26 Sep 1995 03:33:42 -0400 From: Coranth Gryphon Message-Id: <199509260733.DAA16047@healer.com> To: jdl@chromatic.com Subject: Re: ports startup scripts Cc: hackers@freebsd.org Sender: owner-hackers@freebsd.org Precedence: bulk From: Jon Loeliger > Well, I think these issues point to the more generalized problem > of simply representing the "dependency graph". All of the file number Yep. The underlying framework is the same, it comes down to how to control sequence. > Can we have a more abstract representation of that dependency graph? > Then, either at like, install or boot time (ick) a topological sort is > done on the graph and the script/script-fragment is linearly ordered Interesting. > The algorithm is data driven based on package parts supplied during > the install and a well-defined although not necessarily unique ordering Solves a lot of the static config issues. > There are issues here still, like, how do you state dependencies against > things that have yet to be invented? I think that's why fictitious or > virtual nodes may be needed in the graph too. They can essentially > arbitrarily represent the "levels" or "states" in the graph where > certain properties are available ("NFS", "LAN", "WAN", "Single User"). Solves the dependencies problems if a specification can be coded. > Tip-toeing back out of the warzone, Nope, get back in here :-) This sounds like a really good idea. So, how would you go about implementing such a dependency graph? -coranth ------------------------------------------+------------------------+ Coranth Gryphon | "Faith Manages." | | - Satai Delenn | Phone: 603-598-3440 Fax: 603-598-3430 +------------------------+ USMail: 3 Hansom Drive, Merrimack, NH 03054 Disclaimer: All these words are yours, except Europa...