mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Also fix output of NFS shares in the media status.
This commit is contained in:
@@ -70,7 +70,7 @@ if ( $querry[0] =~ "sd?" || $querry[0] =~ "hd?" || $querry[0] =~ "xvd??"){
|
|||||||
|
|
||||||
&Header::openbox('100%', 'center', $Lang::tr{'disk usage'});
|
&Header::openbox('100%', 'center', $Lang::tr{'disk usage'});
|
||||||
print "<table width='95%' cellspacing='5'>\n";
|
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>){
|
while(<DF>){
|
||||||
if ($_ =~ m/^Filesystem/ ){
|
if ($_ =~ m/^Filesystem/ ){
|
||||||
print <<END
|
print <<END
|
||||||
@@ -108,7 +108,7 @@ END
|
|||||||
close DF;
|
close DF;
|
||||||
print "<tr><td colspan='7'> \n<tr><td colspan='7'><h3>Inodes</h3>\n";
|
print "<tr><td colspan='7'> \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>){
|
while(<DF>){
|
||||||
if ($_ =~ m/^Filesystem/ ){
|
if ($_ =~ m/^Filesystem/ ){
|
||||||
print <<END
|
print <<END
|
||||||
|
|||||||
Reference in New Issue
Block a user