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: L A Walsh
Subject: bug#37702: Suggestion for 'df' utility
Date: Mon, 14 Oct 2019 12:11:37 -0700
User-agent: Thunderbird

On 2019/10/11 12:56, Paul Eggert wrote:
> On 10/11/19 11:20 AM, Pádraig Brady wrote:
>   
>> if you want to exclude nested file systems like that,
>> you could try:
>>    alias df='df -x squashfs'
>>     
> On my Fedora 30 workstation that option doesn't make any difference. 
>   
------
I'd suggest adjusting the exclusion list to the file systems you want to
exclude.

I.e.
alias df='df -x tmpfs -x devtmpfs -x loop'

That works on my system as well as:
alias df='df -t xfs'

Certainly prompting the user for wanted defaults and adding them to
their .shellrc could be part of an initial run of *some* utilities
that wouldn't cause hard-coded side-effects.










reply via email to

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