Adjusting what fstypes df displays

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Fri May 29 14:15:27 UTC 2020


On 29/05/2020 11:03, Robie Basak wrote:
> +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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20200529/e6d14e20/attachment.html>


More information about the ubuntu-devel mailing list