Strange echo behaviour

Baruch Siach baruch at tkos.co.il
Thu Jan 27 07:03:01 UTC 2011


Hi Jim,

On Wed, Jan 26, 2011 at 10:50:46AM -0800, Cathey, Jim wrote:
> The 'errors' EBUSY and EAGAIN are _temporary_ conditions,
> often the correct response is to try again.  (Even EACCESS,
> ENOSPC, EEXIST, etc. could be considered temporary, depending
> on circumstances, and a delayed retry could be considered the
> right thing to do.  Not commonly, of course.)  Nowhere I know
> of is it required that a retry be exactly the same as a
> rejected attempt, one could even argue that trying it again
> a different way might even be superior under certain conditions.
> (Not, of course, when speaking to devices that have blocking
> requirements, whether advertised or unadvertised.)

OK. But this should at least be consistent. That is, if you retry the IO 
operation, do the full IO, not just the first byte.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the busybox mailing list