(note that all lists were generated by hand so might not be exactly
right, but should give the rough idea.)

these commands weren't in toolbox but are now offered by toybox in AOSP master:

    acpi
    basename blockdev bzcat
    cal chgrp chroot cksum comm cut
    dirname dos2unix
    echo egrep env expand
    factor fallocate fgrep find free
    groups
    head hostname
    killall
    logname losetup lspci lsusb
    md5sum modinfo more mountpoint
    nice nl
    od
    paste patch pidof pmap pwd
    readahead realpath
    seq setsid sha1sum sort split stat strings sysctl
    tac tail taskset tee time timeout truncate
    uname uniq unix2dos usleep uudecode uuencode
    wc which whoami xargs
    yes

they're available both via "toybox acpi" and directly via "acpi".

these commands were in toolbox but are now offered by toybox in AOSP master:

    chcon chmod clear cp
    dmesg
    false
    insmod
    kill
    ln lsmod
    mkdir mknod mkswap mv
    nohup
    printenv
    readlink rm rmdir rmmod
    sleep sync swapoff swapon
    true
    vmstat

these i think we can switch over with the patches i've sent, once
they're submitted:

   cat --- missing most options; toybox currently has catv instead of
“cat -v”, for example
   chown --- bugs with argument parsing
   du --- our default block size was 512; -h output slightly different.
   id --- missing -Z, output slightly different.

(plus the patches that add getenforce/setenforce.)

here's the rest of the stuff that's in toybox's default configuration
and in toolbox, with notes about stuff i need to look at before we can
switch (mount and umount are deliberately left blank; i haven't got
round to investigating them even superficially yet):

   cmp --- missing -b, -n.
   date --- probably okay to split this into date/hwclock (but will
probably need to patch hwclock locally to try /dev/alarm before of
/dev/rtc0)
   df --- our non-standard output is parsed by tradefed.
   grep --- missing -A, -B, -C, color. compare performance with BSD grep?
   ifconfig --- seems to be superset; test networking after reboot and
switch over?
   inotifyd (vs notify) --- seems to be incompatible superset; move
over and see what happens?
   ls --- missing -Z
   mount
   renice --- ours has nonstandard -r, -t (equivalent to -n?), -g (“get”).
   touch --- ours has nonstandard -l (equivalent to standard -h),
better resolution.
   umount

for those commands the missing stuff is probably meaningful because it
was either added to our own code or mentioned in a checkin comment
motivating a switch to/upgrade of BSD code.

and here's stuff that's in pending and toolbox, with vaguer notes:

    dd --- missing suffixes kB/MB/GB.
    netstat --- superset?
    ps --- default columns differ, no -Z, --abi.
    route --- superset?
    top --- default columns differ, missing #THR, RSS, PCY.
      Linux:   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM
    TIME+ COMMAND
      toolbox:   PID PR(=toybox CPU) CPU% S  #THR     VSS     RSS PCY
UID      Name
      toybox:   PID  PPID USER     STAT   VSZ  %VSZ  CPU  %CPU COMMAND
    traceroute --- currently we only have a traceroute6, so nothing to
lose by adding this?

obviously there's a lot more stuff in both toybox and toolbox, but
this is about as far ahead as i'm looking so far.

 --elliott
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to