From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 30 14:28:51 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 3772416A4CF for ; Tue, 30 Mar 2004 14:28:51 -0800 (PST) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C1543D3F for ; Tue, 30 Mar 2004 14:28:50 -0800 (PST) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.12.11/8.12.11) with ESMTP id i2UMSmug073722; Wed, 31 Mar 2004 00:28:49 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.12.11/8.12.11/Submit) id i2UMSmrs073721; Wed, 31 Mar 2004 00:28:48 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Franz Klammer In-Reply-To: <4069F0A2.7040706@webonaut.com> References: <4069F0A2.7040706@webonaut.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xZH0OpVYb+d9YCtuxEn5" Message-Id: <1080685718.73073.21.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 31 Mar 2004 00:28:45 +0200 cc: FreeBSD GNOME Users Subject: Re: gdesklets - calculation of disksize X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org 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:28:51 -0000 --=-xZH0OpVYb+d9YCtuxEn5 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable V st, 31. 03. 2004 v 00:11, Franz Klammer p=ED=B9e: > question to the knowing people: >=20 > gdesklets didn't calculate the correct disk size returned from glibtop. > i had to change the following lines (excerpt from a diff): >=20 > - free =3D float(bfree * 512) > - total =3D float(blocks * 512) > + free =3D float(bfree * 2048) > + total =3D float(blocks * 2048) > =20 > my questions: > - is this only necessary on -CURRENT? > - if yes: from which version upwards i should check? Does it depend on block size of given filesystem, by chance? You can create filesystem with various block size... Also while we're speaking about it, swap display from Psi set shows all values multiplied by 1000 (according to that display I have 340M used in 1.46T swap on this box, *cough* *cough*) --=20 Pav Lucistnik Sun couldn't care less about Linux other than it now being necessary in order to be buzzword compliant. -- Al Dente --=-xZH0OpVYb+d9YCtuxEn5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAafSTntdYP8FOsoIRAunnAKCaeAqMxICsvkR3xMJtXRzrd7hFVwCfRVQa Cd1R9rmbnFnE1ZmOjSCykVM= =WQIJ -----END PGP SIGNATURE----- --=-xZH0OpVYb+d9YCtuxEn5--