ash ignors somtimes commands

Paul Fox pgf at brightstareng.com
Thu Jul 5 13:59:59 UTC 2007


 > On Thursday 05 July 2007 09:48, Miroslaw Dach wrote:
 > > 	I use busybox based root-file system on my PPC405 processor 
 > > embedded system. My root file system is mounted via NFS. I have chosen ash 
 > > as a shell.
 > > 
 > > ash works fine but from time to time it ignores commands which I type.
 > > 
 > > For example in most cases when I type 'ps' I get a complete list of
 > > processes. Sometimes 'ps' does not print any thing.  It is the same with
 > > all other commands. I have written 'all' because I have also my own 
 > > programs which seem to be not execute (sometimes) when I type their names 
 > > and press ENTER.
 > > 
 > > Does anybody have an idea why it is so?
 > 
 > Absolutely no idea. It's rather weird.
 > 
 > Can you give more details - how often commands do not execute?
 > Every 2nd? Every tenth? Every 1000th?

it sounds to me as if there's another command running in the
background which is consuming input typed at the console. 
whether ash or the background command gets the line of text is a
race condition.

paul
=---------------------
 paul fox, pgf at brightstareng.com



More information about the busybox mailing list