On 2019-10-14 00:13, Assaf Gordon wrote:
> Also in other systems where "/tmp" is a "tmpfs",
> users might want to see how much space is available.
> 
> If we hide it by default, they can of course use "df /tmp"
> or "df --all" - it's not about removing this option,
> it is just about making users' life harder or easier,
> and making unexpected changes.

I see the point ... and agree.

>> This seems to be a small change, and not satisfying the snap case.
> 
> Possibly hiding "squashfs" of readonly-mounts could get rid of those snaps?

Possibly.
But still the same question: how many users would like to see them
per default, and how many do not?
I would not like to argue for something like a ~/.dfrc, but it seems there
are a lot of different flavors of wishes out there.
Yet leaving the default seems to be a wise choice to me.

FWIW: df has the -x option, but if someone would use it in an alias like
"df -x sqashfs", then there's currently no chance to override it again:

  $ alias df='/usr/bin/df -x tmpfs'
  $ df -t tmpfs
  df: file system type 'tmpfs' both selected and excluded

Have a nice day,
Berny



Reply via email to