From owner-freebsd-arch@FreeBSD.ORG Wed May 26 04:42:56 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6763016A4CE for ; Wed, 26 May 2004 04:42:56 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15B1B43D48 for ; Wed, 26 May 2004 04:42:55 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id A9F65ACAE6; Wed, 26 May 2004 13:42:01 +0200 (CEST) Date: Wed, 26 May 2004 13:42:01 +0200 From: Pawel Jakub Dawidek To: Christian Weisgerber Message-ID: <20040526114201.GI845@darkness.comp.waw.pl> References: <20040524112708.GT845@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qSA16V2Xa97CV7Fv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-arch@freebsd.org Subject: Re: '-h'/'-H' functionality. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 11:42:56 -0000 --qSA16V2Xa97CV7Fv Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 01:21:05AM +0000, Christian Weisgerber wrote: +> > Code for printing disk sizes in human-readable form exists in du(1) and +> > df(1). It is just copied. I want put this functionality to diskinfo(8), +> > but I don't want to copy it again, so maybe it should be moved to libc +> > or somewhere? +>=20 +> OpenBSD put fmt_scaled(3) and scan_scaled(3) into libutil. I already committed NetBSD's humanize_number(3). --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --qSA16V2Xa97CV7Fv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAtIKJForvXbEpPzQRAlcrAKDfy3etk6qP2jrQjzOTReQ8j07/3QCfZUAI tsgeJeO6iLUMReBh9rWWao8= =J0YY -----END PGP SIGNATURE----- --qSA16V2Xa97CV7Fv--