From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 30 14:11:18 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F65916A4D0 for ; Tue, 30 Mar 2004 14:11:18 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 238F643D41 for ; Tue, 30 Mar 2004 14:11:18 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 1BDE176425 for ; Wed, 31 Mar 2004 00:11:13 +0200 (CEST) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54057-06 for ; Wed, 31 Mar 2004 00:11:09 +0200 (CEST) Received: from webonaut.com (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id D491C76421 for ; Wed, 31 Mar 2004 00:11:09 +0200 (CEST) Message-ID: <4069F0A2.7040706@webonaut.com> Date: Wed, 31 Mar 2004 00:11:46 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.5 (X11/20040318) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD GNOME Users Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.com Subject: gdesklets - calculation of disksize X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 22:11:18 -0000 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