calling busybox shell using kernel args

Rob Landley rob at landley.net
Mon Sep 26 20:42:20 UTC 2005


On Monday 26 September 2005 14:01, Johann Ammerlahn wrote:
> I don't think the kernel understand spaces within an argument.  Any way to
> reference the busybox shell without space delimiters?

In theory a separate kernel argument should be appended to the init command 
line, but there's the possiblity it isn't the _first_ command line argument, 
which busybox would need it to be.  Try removing any other unnecessary 
command line arguments from the kernel command line.

There's also the possibility that you're using an old kernel that doesn't set 
argv[0], which would suck.

> init=/bin/.temp/busybox sh

That.

Rob



More information about the busybox mailing list