On 10/13/19 2:41 AM, Pádraig Brady wrote:
I wonder could we key (also) on used==0||available==0.

Yes, looking at the sample output I gave earlier, I'd say we could by default drop filesystems where usage is 1% or less. That would solve the problem for my workstation. This is roughly akin to the "used==0" test you're suggesting.

(I don't know if this would address the problem of small snap loop devices. I haven't seen sample df output from that.)

What you mean by "available==0"? Actual zero-size filesystems, or filesystems whose size is less than some epsilon? What would the epsilon be? Can you give an example?



Reply via email to