Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 01:21:05 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-arch@freebsd.org
Subject:   Re: '-h'/'-H' functionality.
Message-ID:  <c90re1$23ln$1@kemoauc.mips.inka.de>
References:  <20040524112708.GT845@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek <pjd@freebsd.org> 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?

OpenBSD put fmt_scaled(3) and scan_scaled(3) into libutil.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c90re1$23ln$1>