From owner-freebsd-rc@FreeBSD.ORG Wed Feb 8 03:11:54 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F436106570D; Wed, 8 Feb 2012 03:11:54 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 865568FC0A; Wed, 8 Feb 2012 03:11:53 +0000 (UTC) Received: from alph.allbsd.org (p1012-ipbf2105funabasi.chiba.ocn.ne.jp [114.148.160.12]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id q183BHgS067751; Wed, 8 Feb 2012 12:11:27 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q183BCJl025083; Wed, 8 Feb 2012 12:11:14 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Wed, 08 Feb 2012 12:09:34 +0900 (JST) Message-Id: <20120208.120934.253399498479271956.hrs@allbsd.org> To: d@delphij.net, delphij@delphij.net, dougb@FreeBSD.org From: Hiroki Sato In-Reply-To: <4F31E172.8080807@FreeBSD.org> References: <4F31DDB8.3020809@delphij.net> <4F31E172.8080807@FreeBSD.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.4 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Wed_Feb__8_12_09_34_2012_322)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Wed, 08 Feb 2012 12:11:33 +0900 (JST) X-Spam-Status: No, score=-100.8 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT,RCVD_IN_PBL,RCVD_IN_RP_RNBL,SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-rc@FreeBSD.org Subject: Re: base system rc.d dependencies as of 231173 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 03:11:54 -0000 ----Security_Multipart(Wed_Feb__8_12_09_34_2012_322)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Doug Barton wrote in <4F31E172.8080807@FreeBSD.org>: do> On 02/07/2012 18:28, Xin Li wrote: do> > This may be useful for rc.d people so I've decided to post it here. I do> > created these graphs with the NetBSD rcorder-visualize script with do> > some changes to adapt with our needs (e.g. some scripts would provide do> > multiple services, etc, attached). I think the script is useful for do> > FreeBSD as well, should we import it? do> do> I wouldn't have any objection to it being included in tools/ somewhere. do> do> That said, please don't take this as a criticism of your work, but I do> don't see what we're supposed to get from this. It's an interesting do> graphic, but there is too much data, of too much complexity, for the do> graphic to be absorbed in one view. .... or maybe I'm just too stupid to do> see the value. Interesting, but I agree that this flow chart is too complex to understand. Before importing this, how about refining the output in some way? Useful information we can get from this kind of chart is order and dependency. Off the top of my head, but I would say that roughly grouping the dependencies by uppercase scripts using the subgraph statement and placing nodes for the uppercase scripts in alignment with each other from top to bottom (forcing alignment is difficult in GraphViz though) would make something better. -- Hiroki ----Security_Multipart(Wed_Feb__8_12_09_34_2012_322)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk8x524ACgkQTyzT2CeTzy1k+wCgjd4+2txXDzUu9hRgIetIUv6Q vXQAoN9KSeezUPoB5gyEMk3XYV9nAnCo =jkzA -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Feb__8_12_09_34_2012_322)----