SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0003017: Disk usage section in the Status Information GUI needs some work - MantisBT
MantisBT - Endian Firewall
View Issue Details
0003017Endian FirewallGUIpublic2010-06-19 12:162010-07-09 14:12
baldy 
 
normaltweakalways
confirmedopen 
2.4 
future 
0003017: Disk usage section in the Status Information GUI needs some work
Lay-out of disk usage needs to be improved.
Columns are not straight under each other.
Also some elements have a bar graph and others do not.

The numbers for size and free+used do not add up. Free+used is always less than size.
Picture added, screen resolution used 1280*800.
No tags attached.
jpg Diskusage.jpg (149,923) 2010-06-19 12:16
https://bugs.endian.com/file_download.php?file_id=457&type=bug
jpg
Issue History
2010-06-19 12:16baldyNew Issue
2010-06-19 12:16baldyFile Added: Diskusage.jpg
2010-06-21 07:55peter-endianStatusnew => confirmed
2010-06-21 07:55peter-endianTarget Version => future
2010-07-09 14:12crispyNote Added: 0004606

Notes
(0004606)
crispy   
2010-07-09 14:12   
I noticed this problem as well. The issue is that the LVM device names cause the data to shift onto the next line with the default output format of 'df'.

The fix is trivial, on line 227 of /home/httpd/cgi-bin/status.cgi, add the "-P" option to df, which forces it all onto one line:

  open(DF,'/bin/df -P -B M -x rootfs|');