Re: I like my rc.d boot messages :(

From: Julian Elischer <julian_at_elischer.org>
Date: Thu, 24 Jul 2008 12:35:49 -0700
Miroslav Lachman wrote:
> 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.

if we start doing things in parallel then you need to know who
has started running and you need to knwo when they finished.
otherwise you don't know who it is that has hung and is stopping
your boot.
[amd starting]...[amd successful]
[smtpd starting]... [smptd succcessful]


or maybe:
[amd starting]...[smtpd starting]...[smptd succcessful]...[amd 
successful]

etc..


> 
> Just my 0.02
> 
> Miroslav Lachman
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Jul 24 2008 - 17:36:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC