That was it. I accidentally called stat by "stat" instead of "/path/to/toybox stat" which meant on some devices it used a different stat applet (probably busybox).
2017-05-13 5:25 GMT+02:00 enh <e...@google.com>: > the one without the quotes is busybox. > > quotes is either GNU or toybox. > > On Fri, May 12, 2017 at 7:38 PM, darken <dar...@darken.eu> wrote: > > Using > > > >> stat -c "%a:%F:%d:%i:%u:%g:%s:%B:%b:%Z:%N", > > > > the output is usually like this: > > > >> > >> 770:directory:24:5546467:0:9997:8192:512:24:1494593733:`/ > storage/emulated/0/Download' > > > > but on some devices the output is > > > >> > >> 770:directory:21:260813:10259:1028:4096:512:8:1487106302:/ > storage/emulated/0/Android/data/au.com.shiftyjelly.pocketcasts > > > > note the difference in quotes around the filepath. Both items are > > directories. > > > > Why the format difference? > > > > ~Matthias > > > > _______________________________________________ > > Toybox mailing list > > Toybox@lists.landley.net > > http://lists.landley.net/listinfo.cgi/toybox-landley.net > > > > > > -- > Elliott Hughes - http://who/enh - http://jessies.org/~enh/ > Android native code/tools questions? Mail me/drop by/add me as a reviewer. >
_______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net