bug in msh?

Natanael Copa natanael.copa at gmail.com
Wed Aug 2 22:47:27 UTC 2006


I'm porting my initramfs script to msh. Its so much smaller.

I replaced this:
  for i in `cat /etc/modules` ; do ...

with:
  cat /etc/modules | while read i ; do ...

because I get a "string too long" error.

But now it look like I have bumped into another bug.

try this:

./busybox msh
cat a_long_file | while read i ; do echo $i ; done

Here different things happens depeingin on the file I use.
One file ends up in an eternal loop.
Another kills the shell on exit. (gives a "Attempt to kill init!" when
msh is used in initramfs script)

hints on how to workaround it?

--
Natanael Copa




More information about the busybox mailing list