Difference between revisions of "Busybox replacement"

From eLinux.org
Jump to: navigation, search
(Toolbox commands)
(Command List)
Line 7: Line 7:
 
[Rob - can you massage this list?]
 
[Rob - can you massage this list?]
  
 +
The first release of a busybox replacement should include the following commands:
 +
[insert candidate list here]
 +
 +
=== Toybox currently implements ===
 +
The triaged toybox is currently implementing usable versions of:
 +
 +
  bzcat cat catv chroot chvt cksum count cp df dmesg echo false help
 +
  mdev mkswap nc netcat nice oneit patch pwd rmdir seq setsid sh
 +
  sha1sum sleep sort sync tee toysh true uname which yes
 +
 +
See http://landley.net/code/toybox/todo.txt
  
 
== Toolbox commands ==
 
== Toolbox commands ==

Revision as of 12:47, 11 January 2012

This page has information about the commands and features desired for a busybox replacement program.

See Busybox replacement project for the project proposal for this work.

Command List

[Rob - can you massage this list?]

The first release of a busybox replacement should include the following commands: [insert candidate list here]

Toybox currently implements

The triaged toybox is currently implementing usable versions of:

 bzcat cat catv chroot chvt cksum count cp df dmesg echo false help
 mdev mkswap nc netcat nice oneit patch pwd rmdir seq setsid sh
 sha1sum sleep sort sync tee toysh true uname which yes

See http://landley.net/code/toybox/todo.txt

Toolbox commands

Toolbox in Android (what version?) implements the following commands:

date id uptime schedtop ifconfig start newfs_msdos
ls route netstat ioctl reboot getprop cmp insmod chmod
r cat lsmod chown log df top printenv ionice setprop rmmod setconsole
sleep watchprops notify wipe smd iftop rmdir dd vmstat hd rm mount
ln lsof getevent ps dmesg renice kill mkdir sendevent nandread mv
sync stop umount

The following are unique to Android:

  • schedtop
  • newfs_msdos
  • getprop
  • log
  • setprop
  • watchprops
  • notify
  • wipe
  • iftop
  • getevent
  • sendevent
  • nandread
  • stop
  • smd

Ones I;m not sure about:

  • r?
  • ioctl?

Random Notes

Can implement incrementally

Rob wrote:

One nice thing about busybox/toybox/toolbox is you can install multiple implementations side by side, and have what symlinks you create (or what comes first in the $PATH) determine who is implementing what.

This allows gradual transitions. Each release, we replace a couple more commands from the old one, until the old one finally isn't being used for anything anymore and we can uninstall it...