ash incompatibility

Sergey Naumov sknaumov at gmail.com
Wed Sep 15 07:17:29 UTC 2010


Hello.

I have tried to execute following command on busybox's ash:
# ps | grep `fuser /dev/ttyS0`

On host's (Debian 5.0.0) ash it results in normal output:
# ash -c "ps | grep `fuser /dev/console`"
2002 root /usr/sbin/ledstats

but on embedded system it prints
# fuser /dev/ttyS0
902
# ps -o pid,comm | grep 902
902 sh
# ps | grep `fuser /dev/ttyS0`
grep: 3809: No such file or directory

Busybox config is attached. Bash compatibility is enabled.

Sergey Naumov.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.conf
Type: application/octet-stream
Size: 26244 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100915/99883720/attachment-0001.obj>


More information about the busybox mailing list