skip snap filesystems

This commit is contained in:
Daniel Black 2021-01-28 18:01:59 +11:00
parent 299944627e
commit 59ce37b3a1

View file

@ -1487,7 +1487,7 @@ sub get_fs_info {
$v;
} @sinfo;
foreach my $info (@sinfo) {
next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)};
next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)};
if ( $info =~ /(\d+)\t(.*)/ ) {
if ( $1 > 85 ) {
badprint "mount point $2 is using $1 % total space";