From: Michael Tremer Date: Fri, 21 Jan 2011 15:11:03 +0000 (+0100) Subject: Also fix output of NFS shares in the media status. X-Git-Tag: v2.9-core45~1^2~25 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=b18bad8a194459493ccafefa25698168cda553d3 Also fix output of NFS shares in the media status. --- diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi index 6a89ca8677..9456c3c220 100644 --- a/html/cgi-bin/media.cgi +++ b/html/cgi-bin/media.cgi @@ -70,7 +70,7 @@ if ( $querry[0] =~ "sd?" || $querry[0] =~ "hd?" || $querry[0] =~ "xvd??"){ &Header::openbox('100%', 'center', $Lang::tr{'disk usage'}); print "\n"; - open(DF,'/bin/df -B M -x rootfs|'); + open(DF,'/bin/df -P -B M -x rootfs|'); while(){ if ($_ =~ m/^Filesystem/ ){ print <
 \n

Inodes

\n"; - open(DF,'/bin/df -i -x rootfs|'); + open(DF,'/bin/df -P -i -x rootfs|'); while(){ if ($_ =~ m/^Filesystem/ ){ print <