[re]Bug in busybox base applet?

Bernd Petrovitsch bernd at firmix.at
Thu Sep 1 11:16:18 UTC 2005


On Thu, 2005-09-01 at 11:04 +0200, Bernd Petrovitsch wrote:
> On Thu, 2005-09-01 at 10:30 +0200, Dirk Clemens wrote:
> > I would to anser to the message
> > http://www.busybox.net/lists/busybox/2005-August/015702.html
> > of Rob. Because I have subscribed the list only a few minutes
> > ago I'm only able to post a new thread.
> > Sorry.
> > 
> > 
> > I have thougth about Robs remarks and have 2 solutions:
> > 
> > 1.)
> > busybox knows allways all possible applets it may support.
> > All calls with non implemented applet names generates an
> > error message: "applet xxx is not compiled into busybox".
> 
> I can imagine that there are situations where you do not want (or able)
> to install tens of sym-links (and just use shell functions) just have
              ... and/or place for the filenames in directories ...
> one binary named "busybox".
> I just can't get a good example together.
> 
> > 2.)
> > A more restrictive solution:
> > 
> > The main busybox applet is only called, when the name begins
> > with 'busybox'. Because of this, busybox names like 'busybox1'
> > or 'busybox-new' works well and we have not unwanted results
> > if busybox called with something like 'ls rm -r /'.
> 
> Additionally you could tell the busybox program it's own pure name after
> installation. In typical cross-compile situations you have to install it
> anyway with a known name and in RPM/DEB/IPKG/... you also know it.
> 
> > I prefer the second one.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




More information about the busybox mailing list