[PATCH] getty: Wait until all output written to stdouthas beentransmitted

Cathey, Jim jcathey at ciena.com
Mon Jan 24 22:18:40 UTC 2011


>That is, it takes more than 20 seconds to transmit the buffer contents
>... so that 1 second delay doesn't make much difference.

Exactly why trying to fix this system-specific problem
within getty itself is doomed to failure.  His _system_
design is incorrect, if there's an important message
to get out before beginning to use normal sessions
(getty) on that port, then his _system_ configuration,
probably via init scripts or whatever, needs changing.

Whenever you try to fix a problem in the wrong place,
it usually breaks something else.  If you're lucky,
immediately.

-- Jim



More information about the busybox mailing list