[PATCH] busybox binary name

Denys Vlasenko vda.linux at googlemail.com
Wed Mar 2 01:19:02 UTC 2011


On Tuesday 01 March 2011 22:08, Tobias Poschwatta wrote:
> The attached patch allows to change the name of the main busybox binary
> to something other than "busybox". This makes it easy to have two or
> more busybox binaries (different versions, different feature sets, etc.)
> installed in the same filesystem.

It is already possible by using a suffix:

# cp busybox busybox2
# ./busybox2
BusyBox v1.19.0.git (2011-03-01 16:23:40 CET) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: busybox --list[-full]
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, acpid, add-shell, addgroup, adduser ...

-- 
vda


More information about the busybox mailing list