<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 13, 2021 at 3:32 PM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/12/21 7:37 PM, enh via Toybox wrote:<br>
> In xgetmountlist(), keep track of whether we could stat or not, so we<br>
> can distinguish an actual device 0:0 from a failed stat/statvfs.<br>
<br>
Is there an actual device 0:0?<br></blockquote><div><br></div><div>(i was just preserving the existing 0:0 behavior. i didn't understand the comment. IANA i'd heard of, but...)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Also switch to FLAG() and capitalize POSIX.<br>
<br>
I'm tempted to break that part out and apply it just so I can see what the rest<br>
of the changes are more clearly.<br>
<br>
You want to print unstat-able devices with "-" as all of their human_readable()<br>
return values? And in-band signaling is not reliable because you have devices<br>
returning 0 as their major:minor? (This df.c isn't the only thing that's going<br>
to fail on that...)<br></blockquote><div><br></div><div>i was just trying to match coreutils' df behavior (as a prelude to looking at the overmount issues).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Rob<br>
_______________________________________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net" target="_blank">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>
</blockquote></div></div>