projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321c9ca
)
Treat simfs and vsfs the same
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 18 Oct 2010 20:54:30 +0000
(13:54 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 18 Oct 2010 20:54:30 +0000
(13:54 -0700)
mount/mount-lib.pl
patch
|
blob
|
history
diff --git
a/mount/mount-lib.pl
b/mount/mount-lib.pl
index
134a30a
..
d93decd
100755
(executable)
--- a/
mount/mount-lib.pl
+++ b/
mount/mount-lib.pl
@@
-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;