[Toybox] Stat output for %N

darken darken at darken.eu
Sat May 13 06:10:07 PDT 2017


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 <enh at 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 <darken at 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 at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20170513/23c30735/attachment-0003.htm>


More information about the Toybox mailing list