From owner-freebsd-current@FreeBSD.ORG Thu Jul 24 19:30:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB9E5106567B for ; Thu, 24 Jul 2008 19:30:13 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id B3EC18FC14 for ; Thu, 24 Jul 2008 19:30:13 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 825C919E023; Thu, 24 Jul 2008 21:30:11 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 74F7119E019; Thu, 24 Jul 2008 21:30:09 +0200 (CEST) Message-ID: <4888D859.3090809@quip.cz> Date: Thu, 24 Jul 2008 21:30:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: JoaoBR References: <200807231846.33728.jhb@freebsd.org> <200807240833.51750.fjwcash@gmail.com> <200807241448.30627.joao@matik.com.br> In-Reply-To: <200807241448.30627.joao@matik.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: I like my rc.d boot messages :( X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2008 19:30:14 -0000 JoaoBR wrote: [...] >>>>I'd go further: it was nice when startup scripts printed their name >>>>(no newline) and then '.\n' when they were finished. It then becomes >>>>unambiguous who is at fault. It's hard to tell with the current >>>>non-system which of the 2 scrpts (the one that has printed it's name, >>>>or the one that next prints it's name) is at fault. Worse.. it could >>>>be the quiet script in between. >>> >>>Agreed, but you could delineate it with something other than '\n" too. >>>Like '[amd] [smtp] [dhcpd] ...', with the ']' meaning the script is >>>done and has moved on to the next service. >> >>I like that. [ means processing has started, name is the service/script >>runnging, ] means processing of that script has completed. All the info >>you need for multiple services, all on one line. > > > simply another wiered outcome - not understandable btw same as this mystical > dot thing > > something more obvious would be: > > starting $service_name ... up > starting $service_name ... up > ... > > that would be something clear, specially for whom did not invented it It seems too verbose. (does anybody expect "stoping" service on system boot?) And each service on separate line seems to me like vaste of space. Line like "[ssh] [smtp] [dhcpd] [mysql]" is enough for me. It is easy to document it in handbook and man pages. Just my 0.02 Miroslav Lachman