Date: Wed, 31 Mar 2004 00:11:46 +0200 From: Franz Klammer <klammer@webonaut.com> To: FreeBSD GNOME Users <gnome@freebsd.org> Subject: gdesklets - calculation of disksize Message-ID: <4069F0A2.7040706@webonaut.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4069F0A2.7040706>