On Sun, Jul 13, 2008 at 11:50:47AM +0200, Denys Vlasenko wrote:
> It tries to run applets by executing /proc/self/exe <applet> <params>
> because of:
>
> CONFIG_FEATURE_PREFER_APPLETS=y
> CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
>
> and you don't yet have /proc mounted, so it does not work.
>
> Try mounting /proc first - "busybox mount ..." and
> "/bin/mount ..." should work. (If either doesnt, let me know).
>
> In your opinion, where I should put the above explanation
> so that in future users would find it faster?
> In other words, where did you look for information
> and it was not there?
>
> --
> vda
Yep, that was the problem. After mounting /proc everything works fine.
I now have a functional system using the following /init script and only
the busybox binary in the filesystem (no symlinks even):
#!/bin/busybox sh
busybox --install -s
busybox mount -t proc proc /proc
mount -t sysfs sysfs /sys
mdev -s
exec sh
Also, with CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox" and a just a symlink
for "sh" it works as follows:
#!/bin/sh
busybox --install -s
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mdev -s
exec sh
As far as where to put your explanation, it seems already readily
available. I was unable to come across it due to my own foolishness. I
was too busy googling the error I was getting or browsing the mailing
list archives and such to bother reading the VERY FIRST entry in the
FAQ and for that I am quite ashamed. Thank you very much for your
patience, your help is greatly appreciated.
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox