bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37702: Suggestion for 'df' utility


From: Bernhard Voelker
Subject: bug#37702: Suggestion for 'df' utility
Date: Mon, 14 Oct 2019 00:29:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

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

[Prev in Thread] Current Thread [Next in Thread]