<div dir="ltr">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 (<a href="http://megh.com">megh.com</a>), and need to monitor the tmpfs we create.<div><br></div><div>Tobin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 29, 2020 at 7:03 AM Robie Basak <<a href="mailto:robie.basak@ubuntu.com">robie.basak@ubuntu.com</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">+1 for Bryce's approach.<br>
<br>
On Fri, May 29, 2020 at 10:56:34AM -0300, Rafael David Tinoco wrote:<br>
> Perhaps this environment variable should be set by snapd package ?<br>
<br>
I think this could be surprising - because we would be hiding all<br>
squashfs filesystems from df, not just snapd ones. I think it would be<br>
cleaner to consider that users don't generally want to see squashfs<br>
stuff in df output by default anyway, and so hide it Ubuntu-wide.<br>
<br>
I'm less sure about tmpfs. I can think of occasions where I have wanted<br>
to see tmpfs usage (since it can run out, and has run out on me before).<br>
But that's perhaps too much of a specialist case, and so I think it's<br>
also OK to hide tmpfs by default from df on Ubuntu.<br>
-- <br>
ubuntu-devel mailing list<br>
<a href="mailto:ubuntu-devel@lists.ubuntu.com" target="_blank">ubuntu-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel</a><br>
</blockquote></div>