Friday, 29 May 2020

Re: Adjusting what fstypes df displays

On 29/05/2020 01:38, Bryce Harrington wrote:
> Two alternate approaches I'm weighing are a config file in /etc, or just
> a package patch to carry in coreutils, but the env var approach feels
> like it would be more flexible to users and hopefully more suitable for
> upstream. Before I forward it upstream, though, what does ubuntu-devel@
> think?

I like having an environment variable to opt out from some of the
filesystems better. This "df" thing sometimes seem minor but I'll give a
small example of what just happened:

Yesterday I was fixing the iso generation scripts I have, on behalf of a
customer, and I forgot /mnt mounted with an iso loopback mount. I did
not notice that right away because of all the crap related to loop

I saw your df alias today and thought, ha.. will add it to my profile..
and suddenly, testing, I saw:

/dev/loop14 1.2G 1.2G 0 100% /mnt

because all the other loop devices mounts were gone. I mean, for us it
might not look *that* important, but for a sysadmin might really be!

Perhaps this environment variable should be set by snapd package ?

rafaeldtinoco@workstation:~$ dpkg -S /etc/profile.d/
snapd: /etc/profile.d/

or any other package that is willing to make df to opt out a filesystem
by default ?

ubuntu-devel mailing list
Modify settings or unsubscribe at: