fixed missing sshfs filter in disk used

This commit is contained in:
Harald Hope 2018-04-17 17:15:08 -07:00
parent 4af87f849a
commit 2219a926e2

2
inxi
View file

@ -7160,7 +7160,7 @@ sub disk_data {
my %row = %$ref; my %row = %$ref;
# don't count remote used, also, some cases mount # don't count remote used, also, some cases mount
# panfs is parallel NAS volume manager, need more data # panfs is parallel NAS volume manager, need more data
next if ($row{'fs'} && $row{'fs'} =~ /nfs|panfs|smbfs|unionfs/); next if ($row{'fs'} && $row{'fs'} =~ /nfs|panfs|sshfs|smbfs|unionfs/);
# in some cases, like redhat, mounted cdrom/dvds show up in partition data # in some cases, like redhat, mounted cdrom/dvds show up in partition data
next if ($row{'dev-base'} && $row{'dev-base'} =~ /^sr[0-9]+$/); next if ($row{'dev-base'} && $row{'dev-base'} =~ /^sr[0-9]+$/);
# this is used for specific cases where bind, or incorrect multiple mounts # this is used for specific cases where bind, or incorrect multiple mounts