Difference between revisions of "Busybox replacement"

From eLinux.org
Jump to: navigation, search
(Toolbox commands)
(Toolbox commands)
Line 32: Line 32:
 
* nandread
 
* nandread
 
* stop
 
* stop
 +
* smd
  
 
Ones I;m not sure about:
 
Ones I;m not sure about:

Revision as of 19:43, 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?]


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...