14 Mar
2016
14 Mar
'16
20:22
On 03/14/2016 04:03 PM, jdd wrote:
Le 14/03/2016 20:05, Felix Miata a écrit :
Carlos E. R. composed on 2016-03-14 19:43 (UTC+0100):
What, you do not like that lot of lines in df output? Well, that's df fault. It does not distinguish bind mounts either. We'd need new options to tell df to ignore certain stuff (like tmpfs).
I changed .bashrc 1.5 years ago: alias df='df --exclude-type=tmpfs --exclude-type=devtmpfs --exclude-type=cgroup '
Is freespace on *mpfs or cgroup ever relevant to a human? The new df option should be for inclusion, not exclusion, making excluding them the default.
is there a way to exclude btrfs subvolumes?
jdd
Does this work for you? df | awk -F" " '!_[$1]++' -- Regards, Uzair Shamim