<p dir="ltr">He's the author. Sorry, I should have linked to the change in gerrit. </p>
<div class="gmail_quote">On Jul 9, 2015 23:58, "Rob Landley" <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did Greg Hackmann write this, or did he just review it? (I.E. is git<br>
--author Elliott or Greg here?)<br>
<br>
Rob<br>
<br>
On 07/06/2015 10:33 PM, enh wrote:<br>
> ping?<br>
><br>
> On Fri, May 15, 2015 at 4:48 PM, enh <<a href="mailto:enh@google.com">enh@google.com</a><br>
> <mailto:<a href="mailto:enh@google.com">enh@google.com</a>>> wrote:<br>
><br>
> find: add -inum option<br>
><br>
> -inum is a commonly implemented extension to search by inode number.<br>
><br>
> Linux's fs-layer tracepoints log many events in terms of inodes, so<br>
> "find -inum" is useful for mapping those events back to specific files.<br>
><br>
> Signed-off-by: Greg Hackmann <<a href="mailto:ghackmann@google.com">ghackmann@google.com</a><br>
> <mailto:<a href="mailto:ghackmann@google.com">ghackmann@google.com</a>>><br>
><br>
> diff --git a/toys/posix/find.c b/toys/posix/find.c<br>
> index 69e370d..1e9bdfe 100644<br>
> --- a/toys/posix/find.c<br>
> +++ b/toys/posix/find.c<br>
> @@ -32,6 +32,7 @@<br>
> -ctime N created N days ago -mtime N modified N<br>
> days ago<br>
> -newer FILE newer mtime than FILE -mindepth # at least #<br>
> dirs down<br>
> -depth ignore contents of dir -maxdepth # at most #<br>
> dirs down<br>
> + -inum N inode number N<br>
> -type [bcdflps] (block, char, dir, file, symlink, pipe, socket)<br>
><br>
> Numbers N may be prefixed by a - (less than) or + (greater than):<br>
> @@ -341,6 +342,9 @@<br>
> test = compare_numsign(new->st.st_size, 512, ss[1]);<br>
> } else if (!strcmp(s, "links")) {<br>
> if (check) test = compare_numsign(new->st.st_nlink, 0, ss[1]);<br>
> + } else if (!strcmp(s, "inum")) {<br>
> + if (check)<br>
> + test = compare_numsign(new->st.st_ino, 0, ss[1]);<br>
> } else if (!strcmp(s, "mindepth") || !strcmp(s, "maxdepth")) {<br>
> if (check) {<br>
> struct dirtree *dt = new;<br>
><br>
><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>
><br>
><br>
> _______________________________________________<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/listinfo.cgi/toybox-landley.net</a><br>
><br>
</blockquote></div>