]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Also fix output of NFS shares in the media status.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jan 2011 15:11:03 +0000 (16:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jan 2011 15:11:03 +0000 (16:11 +0100)
html/cgi-bin/media.cgi

index 6a89ca86774710c29dc19f3398aa800f4b344568..9456c3c220b4072f59435513ba3fe275c88c5be2 100644 (file)
@@ -70,7 +70,7 @@ if ( $querry[0] =~ "sd?" || $querry[0] =~ "hd?" || $querry[0] =~ "xvd??"){
        
        &Header::openbox('100%', 'center', $Lang::tr{'disk usage'});
        print "<table width='95%' cellspacing='5'>\n";
-       open(DF,'/bin/df -B M -x rootfs|');
+       open(DF,'/bin/df -P -B M -x rootfs|');
        while(<DF>){
                if ($_ =~ m/^Filesystem/ ){
                        print <<END
@@ -108,7 +108,7 @@ END
        close DF;
        print "<tr><td colspan='7'>&nbsp;\n<tr><td colspan='7'><h3>Inodes</h3>\n";
 
-       open(DF,'/bin/df -i -x rootfs|');
+       open(DF,'/bin/df -P -i -x rootfs|');
        while(<DF>){
                if ($_ =~ m/^Filesystem/ ){
                        print <<END