[U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible

Mike Frysinger vapier at gentoo.org
Fri Jan 16 20:07:55 CET 2009


On Friday 16 January 2009 03:37:40 Wolfgang Denk wrote:
> In message <1231493902-7043-1-git-send-email-vapier at gentoo.org> you wrote:
> > The netcat utility likes to exit when it receives an empty packet (as it
> > thinks this means EOF).  This can easily occur when working with command
> > line editing as this behavior will be triggered when using backspace.  Or
> > with tabs and command line completion.  Since the local ncb util does not
> > have this "feature" and it supports broadcast udp, default to using that
> > rather than netcat.
>
> When would "ncb" not be available?
>
> What else are the implications when using ncb versus netcat?
>
> Why does your script tools/netconsole so far use netcat only, when we
> have the (as I read it) much better ncb anyway?

people have to manually build ncb, plus ncb is a listen-only daemon.  you 
still need nc to do the transmission.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090116/31b018ff/attachment.pgp 


More information about the U-Boot mailing list