Treat simfs and vsfs the same
authorJamie Cameron <jcameron@webmin.com>
Mon, 18 Oct 2010 20:54:30 +0000 (13:54 -0700)
committerJamie Cameron <jcameron@webmin.com>
Mon, 18 Oct 2010 20:54:30 +0000 (13:54 -0700)
mount/mount-lib.pl

index 134a30a..d93decd 100755 (executable)
@@ -308,7 +308,8 @@ foreach $m (@mounted) {
                        next;
                        }
                my ($t, $f) = &mount::disk_space($m->[2], $m->[0]);
-               if (($m->[2] eq "simfs" || $m->[2] eq "vzfs") &&
+               if (($m->[2] eq "simfs" || $m->[2] eq "vzfs" ||
+                    $m->[0] eq "/dev/vzfs") &&
                    $donevzfs{$t,$f}++) {
                        # Don't double-count VPS filesystems
                        next;