Re: [Toybox] toybox in Android status

2015-01-26 Thread enh
On Sun, Jan 25, 2015 at 12:15 PM, Rob Landley wrote: > On 01/17/15 00:09, enh wrote: >> more progress... > ... >> I’ve moved the following commands over to toybox, removing the old >> toolbox implementations: >> >> vmstat > > Going into a bit more depth on vmstat, on my netbook right now: > >

Re: [Toybox] toybox in Android status

2015-01-26 Thread enh
On Sun, Jan 25, 2015 at 12:14 PM, Rob Landley wrote: > On 01/17/15 00:09, enh wrote: >> more progress... >> >> Right now toybox provides the following new commands that we didn’t >> have with toolbox: >> >> acpi >> basename blockdev bzcat >> cal chgrp chroot cksum comm cut >> dirna

Re: [Toybox] toybox in Android status

2015-01-25 Thread Rob Landley
On 01/17/15 00:09, enh wrote: > more progress... ... > I’ve moved the following commands over to toybox, removing the old > toolbox implementations: > > vmstat Going into a bit more depth on vmstat, on my netbook right now: $ vmstat procs ---memory-- ---swap-- -io -sys

Re: [Toybox] toybox in Android status

2015-01-25 Thread Rob Landley
On 01/17/15 00:09, enh wrote: > more progress... > > Right now toybox provides the following new commands that we didn’t > have with toolbox: > > acpi > basename blockdev bzcat > cal chgrp chroot cksum comm cut > dirname dos2unix > echo egrep env expand > fallocate fgrep f

Re: [Toybox] toybox in Android status

2015-01-19 Thread enh
On Sat, Jan 17, 2015 at 11:00 PM, Rich Felker wrote: > On Sat, Jan 17, 2015 at 06:59:57PM -0600, Rob Landley wrote: >> On 01/17/2015 01:53 PM, Rob Landley wrote: >> > On 01/17/2015 12:09 AM, enh wrote: >> > So anyway I checked that in, and now I'm porting your patch on top of >> > that change and

Re: [Toybox] toybox in Android status

2015-01-18 Thread Rob Landley
On 01/18/2015 01:00 AM, Rich Felker wrote: > This is made even more clear in the description: > > If both tv_nsec fields are set to UTIME_OMIT, no ownership or > permissions check shall be performed for the file, but other error > conditions may still be detected (including [EACCES] er

Re: [Toybox] toybox in Android status

2015-01-18 Thread enh
On Sat, Jan 17, 2015 at 11:53 AM, Rob Landley wrote: > On 01/17/2015 12:09 AM, enh wrote: >> more progress... > > I need to update roadmap.html. > >> next to look at: >> >> df --- missing -h; column alignment broken. no need to support old >> Android output format. > > I have a half-finished r

Re: [Toybox] toybox in Android status

2015-01-18 Thread enh
On Sat, Jan 17, 2015 at 4:59 PM, Rob Landley wrote: > On 01/17/2015 01:53 PM, Rob Landley wrote: >> On 01/17/2015 12:09 AM, enh wrote: >> So anyway I checked that in, and now I'm porting your patch on top of >> that change and I hit the _weirdest_ thing where "./touch nonexistent" >> doesn't cause

Re: [Toybox] toybox in Android status

2015-01-18 Thread Rob Landley
On 01/17/2015 08:10 PM, enh wrote: > (even having read the source to send the patch to strace so that they > [will in future] output the times correctly for UTIME_NOW and > UTIME_OMIT when the seconds field isn't 0, and even though "must not > even check the path" is explicitly stated, i guess that

Re: [Toybox] toybox in Android status

2015-01-18 Thread Rich Felker
On Sat, Jan 17, 2015 at 06:59:57PM -0600, Rob Landley wrote: > On 01/17/2015 01:53 PM, Rob Landley wrote: > > On 01/17/2015 12:09 AM, enh wrote: > > So anyway I checked that in, and now I'm porting your patch on top of > > that change and I hit the _weirdest_ thing where "./touch nonexistent" > > d

Re: [Toybox] toybox in Android status

2015-01-18 Thread Rob Landley
On 01/17/2015 08:08 PM, enh wrote: > On Sat, Jan 17, 2015 at 11:53 AM, Rob Landley wrote: >> On 01/17/2015 12:09 AM, enh wrote: >>> more progress... >> >> I need to update roadmap.html. >> >>> next to look at: >>> >>> df --- missing -h; column alignment broken. no need to support old >>> And

Re: [Toybox] toybox in Android status

2015-01-17 Thread Rob Landley
On 01/17/2015 01:53 PM, Rob Landley wrote: > On 01/17/2015 12:09 AM, enh wrote: > So anyway I checked that in, and now I'm porting your patch on top of > that change and I hit the _weirdest_ thing where "./touch nonexistent" > doesn't cause an error because utimensat() on a file that didn't exist >

Re: [Toybox] toybox in Android status

2015-01-17 Thread Rob Landley
On 01/17/2015 12:09 AM, enh wrote: > more progress... I need to update roadmap.html. > next to look at: > > df --- missing -h; column alignment broken. no need to support old > Android output format. I have a half-finished rewrite of this to do the ls -l "buffer the output, count up the siz

Re: [Toybox] toybox in Android status

2015-01-16 Thread enh
more progress... Right now toybox provides the following new commands that we didn’t have with toolbox: acpi basename blockdev bzcat cal chgrp chroot cksum comm cut dirname dos2unix echo egrep env expand fallocate fgrep find free groups head hostname hwclock ki

Re: [Toybox] toybox in Android status

2015-01-02 Thread enh
On Fri, Jan 2, 2015 at 11:20 AM, Rob Landley wrote: > On 01/01/2015 09:57 PM, David Seikel wrote: >> So if Android is switching to toybox, is my unfinished project to >> create a toybox installing app now obsolete? > > There's still stuff to do. In increasing order of difficulty: > > 1) It's only

Re: [Toybox] toybox in Android status

2015-01-02 Thread Rob Landley
On 01/01/2015 09:57 PM, David Seikel wrote: > So if Android is switching to toybox, is my unfinished project to > create a toybox installing app now obsolete? There's still stuff to do. In increasing order of difficulty: 1) It's only going into new ones at some point in the future. The installed

Re: [Toybox] toybox in Android status

2015-01-02 Thread Rob Landley
On 01/01/2015 03:14 PM, enh wrote: > close to switching: > > cat --- missing -n (though we do now have nl(1)) [patch sent upstream] > chown --- bugs with argument parsing [patch sent upstream] > cmp --- missing -b, -n. (both dating from the original git import, > with no changes since.

Re: [Toybox] toybox in Android status

2015-01-02 Thread David Seikel
So if Android is switching to toybox, is my unfinished project to create a toybox installing app now obsolete? I was stuck on "what to do if busybox is already installed and has symlinks plastered all over the file system". I'm still thinking about how to deal with that. -- A big old stinking p

Re: [Toybox] toybox in Android status

2015-01-01 Thread enh
current status... not previously available, now provided by toybox: 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

Re: [Toybox] toybox in Android status

2014-12-19 Thread enh
On Fri, Dec 19, 2014 at 12:02 PM, Rob Landley wrote: > On 12/19/2014 12:40 AM, enh wrote: >> (note that all lists were generated by hand so might not be exactly >> right, but should give the rough idea.) > > This is entire message is awesome and I'll probably devote the whole > weekend to follow-u

Re: [Toybox] toybox in Android status

2014-12-19 Thread Rob Landley
On 12/19/2014 12:40 AM, enh wrote: > (note that all lists were generated by hand so might not be exactly > right, but should give the rough idea.) This is entire message is awesome and I'll probably devote the whole weekend to follow-up, but lemme reply to one specific part now: >df --- our n

[Toybox] toybox in Android status

2014-12-18 Thread enh
(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