Pavel Labath
09dd497314
Second part of the statfs64 patch
...
this also fixes the $fs_type variable.
2011-11-02 19:18:02 +01:00
Pavel Labath
dccf796b42
Use statfs64 for $fs_* to support very large volumes
...
bug reported by puppetm.
2011-11-01 16:17:15 +01:00
Pavel Labath
14511b19ea
Make $fs_used_perc and $fs_bar report used space correctly
...
they reported fs->size - fs->avail, which is not correct if fs has super-user reserved blocks.
note that now $fs_used_perc and $fs_free_perc need not add up to 100%, but that is consistent
with what $fs_used and $fs_free do.
2010-08-12 20:58:21 +02:00
Nikolas Garofil
a32d9e41a4
Bugfix: memory and thread-deleting problems
...
For example the following config had a problem:
TEXT
$i8k_cpu_temp
I could fix it shorter, but then valgrind would still show memleaks
2010-05-05 18:46:04 +02:00
Nikolas Garofil
7791e34900
Make sure that fs.cc compiles in FreeBSD
2010-02-14 15:09:12 +01:00
Brenden Matthews
620e9876a4
C++ conversions WIP.
...
Currently stuck on an issue with g++ and using '%lli' with printf/scanf.
2010-01-04 19:21:12 -08:00