I agree with being able to customize this and Bryce's solution is easy to work with (either profile.d or a df config in /etc). We use tmpfs to create ramdisks on the fly as part of our video analytics solution (megh.com), and need to monitor the tmpfs we create.
On Fri, May 29, 2020 at 7:03 AM Robie Basak <firstname.lastname@example.org> 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.
ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel