From owner-freebsd-arch@FreeBSD.ORG Mon May 24 10:28: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 6935016A4CE for ; Mon, 24 May 2004 10:28:00 -0700 (PDT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35CEA43D2D for ; Mon, 24 May 2004 10:28:00 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 17520 invoked from network); 24 May 2004 17:27:49 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 24 May 2004 17:27:49 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i4OHRYFt099249; Mon, 24 May 2004 13:27:35 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-arch@FreeBSD.org Date: Mon, 24 May 2004 13:28:05 -0400 User-Agent: KMail/1.6 References: <20040524112708.GT845@darkness.comp.waw.pl> In-Reply-To: <20040524112708.GT845@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405241328.05456.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Pawel Jakub Dawidek 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 17:28:00 -0000 On Monday 24 May 2004 07:27 am, Pawel Jakub Dawidek wrote: > Hello. > > 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? Perhaps libutil to avoid bloating libc further? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org