[Bug 811] Avoid messages when quiet

bugzilla at busybox.net bugzilla at busybox.net
Mon Dec 14 00:31:00 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=811





--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  2009-12-14 00:30:58 UTC ---
(In reply to comment #0)
> I've tried to use busybox with CONFIG_FEATURE_EXTRA_QUIET, but init's
> startup banner does still appear.

How about you start with describing what do you want to achieve?
Since you didn't, I have to resort to guessing. Are you trying to suppress

init started: BusyBox v1.XX.Y

message?

> I don't understand the intended logic
> behind the sniplet patched below: it is in an 'else' part that is only
> executed if the syslog feature is not enabled; why should something
> printed out differently if syslog is not enabled?

Are you asking me? I am not the author.

> So this patch removes the duplicate full_write and delegates it to the
> normal one.

No, the patch vandalizes message(L_LOG, xxx) behavior. That full_write it
removes is not duplicate.

> The second part of the patch changes the file descriptor to stdout
> instead of stderr.

Why?


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list