calling busybox shell using kernel args

Johann Ammerlahn JAmmerlahn at exponent.com
Mon Sep 26 19:01:27 UTC 2005


I don't think the kernel understand spaces within an argument.  Any way to reference the busybox shell without space delimiters?

This isn't really a busybox question anymore, but any ideas on passing arguments to kernel arguments (e.g. sh to busybox) would be appreciated.

Thus far I've tried the following without any luck.

init=/bin/.temp/busybox sh
init="/bin/.temp/busybox sh"
init=/bin/.temp/busybox,sh

Thanks,
Johann

-----Original Message-----
From: Rob Landley
To: busybox at busybox.net
Cc: Johann Ammerlahn
Sent: 9/26/2005 7:06 AM
Subject: Re: calling busybox shell using kernel args

On Monday 26 September 2005 05:49, Johann Ammerlahn wrote:
> Through a particularly clever rsync maneuver, I've managed to move the
> busybox executable from /bin/ to /bin/.temp/.  All my busybox and init
path
> settings still point to /bin, however.
>
> Unsurprisingly, this causes a kernel panic on boot as all my symbolic
links
> back to the busybox executable are broken.  Since I have no other
shell on
> my embedded system, I've been trying to figure out how to pass the
busybox
> shell to the kernel using the init= boot argument.
>
> Any ideas?  Other ways to start a shell?

init=/bin/.temp/busybox sh

In theory, unrecognized arguments that aren't of the form "name=value"
get 
passed through as command line arguments to init.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20050926/f1fecf74/attachment-0001.htm 


More information about the busybox mailing list