diff --git a/mount/mount-lib.pl b/mount/mount-lib.pl index 27a1225f6..c0891a520 100755 --- a/mount/mount-lib.pl +++ b/mount/mount-lib.pl @@ -348,6 +348,10 @@ foreach my $m (@mounted) { # Skip virtual memory next; } + if ($m->[2] eq "squashfs") { + # Skip /snap mounts + next; + } # Get the size - for ZFS mounts, this comes from the underlying # total pool size and free my ($t, $f);