Debian Package a Day ([info]debaday) wrote,
@ 2004-09-21 09:52:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
busybox - Tiny utilities for small and embedded systems.
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for the most common utilities you would usually find on your desktop system (i.e., ls, cp, mv, mount, tar, etc.). The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.

This package installs the BusyBox binary but does not install symlinks for any of the supported utilities. You can use /bin/busybox --install to install BusyBox to the root directory (you do not want to do this to your your Debian system, except in dire emergencies!).

This package was suggested as a alternative to sash:
Get the busybox package, run 'make allyesconfig', and then run 'make menuconfig' to enable static linking, and maybe tweak the config a bit. Build it.

You get a shell with almost a complete system inside, and all in the size of 1.3MB or so (i386). "all" does not include strace and tcpdump, but almost everything else, including very simple rpm, dpkg, dhcp client, dhcp server, httpd, telnetd, telnet, strings, grep, awk, sed, top and vi. And many more.

More information on this package can be found on the Debian web site.
(If there is a package you would like to see featured here, go to the userinfo page and follow the directions there to submit your entry.)

Now available in RSS and ATOM flavors too.



(1 comment) - (Post a new comment)

busybox-cvs-static
(Anonymous)
2004-09-24 04:09 am UTC (link)
even simpler:

# apt-get install busybox-cvs-static
$ busybox
BusyBox v1.00-pre10 (Debian 20040623-1) multi-call binary

Usage: busybox [function] [arguments]...
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:
[, addgroup, adduser, adjtimex, ar, arping, ash, awk, basename,
bunzip2, busybox, bzcat, cal, cat, chgrp, chmod, chown, chroot,
chvt, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd,
deallocvt, delgroup, deluser, df, dirname, dmesg, dos2unix, dpkg,
dpkg-deb, du, dumpkmap, dumpleases, echo, egrep, env, expr, false,
fbset, fdflush, fdisk, fgrep, find, fold, free, freeramdisk, fsck.minix,
ftpget, ftpput, getopt, getty, grep, gunzip, gzip, halt, head,
hexdump, hostid, hostname, httpd, hwclock, id, ifconfig, ifdown,
ifup, init, ip, ipaddr, ipcalc, iplink, iproute, iptunnel, kill,
killall, klogd, last, length, linuxrc, ln, loadfont, loadkmap,
logger, login, logname, logread, losetup, ls, makedevs, md5sum,
mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, more,
mount, mt, mv, nameif, nc, netstat, nslookup, od, openvt, passwd,
patch, pidof, ping, ping6, pivot_root, poweroff, printf, ps, pwd,
rdate, readlink, realpath, reboot, renice, reset, rm, rmdir, route,
rpm, rpm2cpio, run-parts, sed, setkeycodes, sh, sha1sum, sleep,
sort, start-stop-daemon, strings, stty, su, sulogin, swapoff,
swapon, sync, syslogd, tail, tar, tee, telnet, telnetd, test,
tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, udhcpd,
umount, uname, uncompress, uniq, unix2dos, unzip, uptime, usleep,
uudecode, uuencode, vi, vlock, watch, watchdog, wc, wget, which,
who, whoami, xargs, yes, zcat

(Reply to this)


(1 comment) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…