gdesklets - calculation of disksize
Franz Klammer
klammer at webonaut.com
Tue Mar 30 14:11:18 PST 2004
question to the knowing people:
gdesklets didn't calculate the correct disk size returned from glibtop.
i had to change the following lines (excerpt from a diff):
- free = float(bfree * 512)
- total = float(blocks * 512)
+ free = float(bfree * 2048)
+ total = float(blocks * 2048)
my questions:
- is this only necessary on -CURRENT?
- if yes: from which version upwards i should check?
franz
More information about the freebsd-gnome
mailing list