Stefan Seyfried 814740e4cc dboxinfo: simplify code for FS/memory size display
Before, the units to display for filesystems / memory was based solely
on the filesystem type. This would lead to e.g. a 16MB FAT partition
being displayed as "0.01G" which is not too useful. Additionally, the
code made the distinction between RAM and FS in many places. Simplify
the code by determining the total/free/used in bytes, then pass that
number to a conversion function which returns a string with suffix.
Additional benefit: avoids use of float, code size significantly
smaller.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1375 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: fd8a469974
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-02 (Sat, 02 Apr 2011)



------------------
This commit was generated by Migit
2011-04-02 13:21:42 +00:00
2011-04-02 08:18:56 +00:00
2009-12-08 11:05:11 +00:00
2009-12-08 11:18:17 +00:00

The file is empty.
Languages
C++ 85%
C 12.5%
Shell 0.6%
Makefile 0.6%
M4 0.5%
Other 0.7%