[BusyBox] built-in commands problem

Thomas Vögtle thomas at voegtle-clan.de
Wed Sep 22 22:13:13 UTC 2004


> in 0.60.5 there was the special option: BB_FEATURE_SH_APPLETS_ALWAYS_WIN.
> according to the help-text of *_STANDALONE_SHELL in 1.00-rc3 this should
> behave the same way ...
> 
>> /bin/dmesg does work.
> 
> 
> and that /bin/demsg is the _not_ the busybox-one? if so, what if you 
> replace
> it by a symlink to busybox (both calling "dmesg" with and without FQPN from
> within bb-ash)?

It is not the busybox-one.
OK, trying to understand what you want, I did this:

root at compiler:~/busybox-1.00-rc3> mv /bin/dmesg /bin/dmesg.disabled

root at compiler:~/busybox-1.00-rc3> ln -s /root/busybox-1.00-rc3/busybox 
/bin/dmesg

root at compiler:~/busybox-1.00-rc3> ./busybox ash

root at compiler:/busybox-1.00-rc3> dmesg
ash: dmesg: not found

root at compiler:/busybox-1.00-rc3> /bin/dmesg
=> works

But, in fact, I do not want to make any symlinks, I just want to use 
that Standalone thingie.
So, I think, CONFIG_FEATURE_SH_STANDALONE_SHELL does not work as expected.

Or is there some other feature to turn on, too?


-- 
  Thomas Vögtle    email: thomas at voegtle-clan.de
  ----- http://www.voegtle-clan.de/thomas ------





More information about the busybox mailing list