From owner-freebsd-arch@FreeBSD.ORG Mon May 24 08:58:00 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 520C716A4CE; Mon, 24 May 2004 08:58:00 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5A9C43D48; Mon, 24 May 2004 08:57:55 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i4OFthgp085133; Mon, 24 May 2004 09:55:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 24 May 2004 09:55:54 -0600 (MDT) Message-Id: <20040524.095554.03050687.imp@bsdimp.com> To: pjd@freebsd.org From: "M. Warner Losh" In-Reply-To: <20040524112708.GT845@darkness.comp.waw.pl> References: <20040524112708.GT845@darkness.comp.waw.pl> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Mon, 24 May 2004 15:58:00 -0000 In message: <20040524112708.GT845@darkness.comp.waw.pl> Pawel Jakub Dawidek writes: : 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? NetBSD has a common set of human readable number routines in libc last time I looked into this. Warner