Difference between revisions of "Busybox replacement"

From eLinux.org
Jump to: navigation, search
(Created page with "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. ...")
 
(Toolbox commands)
Line 11: Line 11:
 
Toolbox in Android (what version?) implements the following commands:
 
Toolbox in Android (what version?) implements the following commands:
  
  date id uptime schedtop ifconfig start newfs_msdos
+
date id uptime schedtop ifconfig start newfs_msdos
  ls route netstat ioctl reboot getprop cmp insmod chmod
+
ls route netstat ioctl reboot getprop cmp insmod chmod
  r cat lsmod chown log df top printenv ionice setprop rmmod setconsole
+
r cat lsmod chown log df top printenv ionice setprop rmmod setconsole
  sleep watchprops notify wipe smd iftop rmdir dd vmstat hd rm mount
+
sleep watchprops notify wipe smd iftop rmdir dd vmstat hd rm mount
  ln lsof getevent ps dmesg renice kill mkdir sendevent nandread mv
+
ln lsof getevent ps dmesg renice kill mkdir sendevent nandread mv
  sync stop umount
+
sync stop umount
  
 
The following are unique to Android:
 
The following are unique to Android:
* schedtop
+
* schedtop
* newfs_msdos
+
* newfs_msdos
* getprop
+
* getprop
* log
+
* log
* setprop
+
* setprop
* watchprops
+
* watchprops
* notify
+
* notify
* wipe
+
* wipe
* iftop
+
* iftop
* getevent
+
* getevent
* sendevent
+
* sendevent
* nandread
+
* nandread
* stop
+
* stop
 
 
  
 +
Ones I;m not sure about:
 +
* r?
 +
* ioctl?
  
 
== Random Notes ==
 
== Random Notes ==

Revision as of 12:42, 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

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