[PATCH] getty: Wait until all output written to stdout has beentransmitted
vda.linux at googlemail.com
Mon Jan 24 21:42:39 UTC 2011
On Monday 24 January 2011 21:03, Peter Korsgaard wrote:
> >>>>> "Jim" == Cathey, Jim <jcathey at ciena.com> writes:
> This thread started by Michal, who's trying to use a very slow
> serial-over-jtag setup on microblaze, and had issues with characters
> getting lost when getty started up (because of the tcflush), so we
> wanted to add a tcdrain() instead.
Unfortunately, Michal did not provide much of information:
what is the speed of his serial link? how many characters
are lost on average? How he starts getty? What architecture and CPU?
His last mail says that sleep(1) doesn't help, which I find
hard to believe.
More information about the busybox