mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
fixed missing sshfs filter in disk used
This commit is contained in:
parent
4af87f849a
commit
2219a926e2
2
inxi
2
inxi
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue