<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sat, Feb 13, 2016 at 9:56 AM enh <<a href="mailto:enh@google.com">enh@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unlike the POSIX file(1), there's no magic file here, just hard-coded<br>
common (non-obsolete) file formats. Personally most of my use of file(1)<br>
is as a one-line readelf(1) summarizer, so although I assume a full POSIX<br>
file(1) is out of scope (because just the database would likely be larger<br>
than all the rest of toybox), a subset that only supports in-use file types<br>
actually covers most of the use cases I encounter personally.<br>
<br><br></blockquote><div>POSIX file(1) only requires you to identify a small handful of things: namely, the type of file (FIFO, socket, dir, normal, etc.), binaries, .a, .cpio, .tar, .sh, .c, and .f. So a very small set of things supported is perfectly conformant. :) </div></div></div>