On 29/05/2020 11:03, Robie Basak wrote:
I'm wondering if having an optarg to disconsider the environment variable would be appropriate. And sorry if that was already considered Bryce, I haven't looked into your code.+1 for Bryce's approach. On Fri, May 29, 2020 at 10:56:34AM -0300, Rafael David Tinoco wrote:Perhaps this environment variable should be set by snapd package ?I think this could be surprising - because we would be hiding all squashfs filesystems from df, not just snapd ones. I think it would be cleaner to consider that users don't generally want to see squashfs stuff in df output by default anyway, and so hide it Ubuntu-wide. I'm less sure about tmpfs. I can think of occasions where I have wanted to see tmpfs usage (since it can run out, and has run out on me before). But that's perhaps too much of a specialist case, and so I think it's also OK to hide tmpfs by default from df on Ubuntu.