'-h'/'-H' functionality.

Christian Weisgerber naddy at mips.inka.de
Tue May 25 18:21:15 PDT 2004


Pawel Jakub Dawidek <pjd at 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 at mips.inka.de



More information about the freebsd-arch mailing list