c0nn3ct / x-wrt

Automatically exported from code.google.com/p/x-wrt
0 stars 0 forks source link

Strange percentbar on pendrive mount usage #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Mount a pendrive
2. Check Status/System

What is the expected output? What do you see instead?
There should be a bar showing the percent of mount usage, just like the
other bars above. Seems like an issue with variables, as there are weird
numbers around, and mountpoint name on a bar instead of a percentage. Not
to mention the excess thin bar...

What version of the product are you using? On what operating system and web
browser?
r4627, XPSP3ENU, Firefox 3.0.4

Please provide any additional info below.
See attached screenshot. The used pendrive is a 4 GB one.

df output for the mentioned mountpoint:
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/scsi/host0/bus0/target0/lun0/part1
                       3903472   2110468   1793004  54% /mnt/kingston

Original issue reported on code.google.com by ivbela on 14 Dec 2008 at 6:05

Attachments:

GoogleCodeExporter commented 8 years ago
Maybe it would be more readable if there were an option to show numbers in MiB

Original comment by ivbela on 14 Dec 2008 at 6:23

GoogleCodeExporter commented 8 years ago
Ooops, I just submitted this very same issue. However I did write a fix for it. 
It's
in issue #111. 

Original comment by grmod...@gmail.com on 8 Jan 2009 at 9:57

GoogleCodeExporter commented 8 years ago
fixed in 4636.

Original comment by kemen04@gmail.com on 8 Jan 2009 at 5:49