<div dir="ltr">That was it.<br>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).<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-13 5:25 GMT+02:00 enh <span dir="ltr"><<a href="mailto:enh@google.com" target="_blank">enh@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">the one without the quotes is busybox.<br>
<br>
quotes is either GNU or toybox.<br>
<div><div class="h5"><br>
On Fri, May 12, 2017 at 7:38 PM, darken <<a href="mailto:darken@darken.eu">darken@darken.eu</a>> wrote:<br>
> Using<br>
><br>
>> stat -c "%a:%F:%d:%i:%u:%g:%s:%B:%b:%<wbr>Z:%N",<br>
><br>
> the output is usually like this:<br>
><br>
>><br>
>> 770:directory:24:5546467:0:<wbr>9997:8192:512:24:1494593733:`/<wbr>storage/emulated/0/Download'<br>
><br>
> but on some devices the output is<br>
><br>
>><br>
>> 770:directory:21:260813:10259:<wbr>1028:4096:512:8:1487106302:/<wbr>storage/emulated/0/Android/<wbr>data/au.com.shiftyjelly.<wbr>pocketcasts<br>
><br>
> note the difference in quotes around the filepath. Both items are<br>
> directories.<br>
><br>
> Why the format difference?<br>
><br>
> ~Matthias<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Toybox mailing list<br>
> <a href="mailto:Toybox@lists.landley.net">Toybox@lists.landley.net</a><br>
> <a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/<wbr>listinfo.cgi/toybox-landley.<wbr>net</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Elliott Hughes - <a href="http://who/enh" rel="noreferrer" target="_blank">http://who/enh</a> - <a href="http://jessies.org/~enh/" rel="noreferrer" target="_blank">http://jessies.org/~enh/</a><br>
Android native code/tools questions? Mail me/drop by/add me as a reviewer.<br>
</font></span></blockquote></div><br></div>