Date: Tue, 18 Nov 2008 04:04:01 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/geom/class/part Makefile geom_part.c Message-ID: <200811180404.mAI4457J059656@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2008-11-18 04:04:01 UTC FreeBSD src repository Modified files: sbin/geom/class/part Makefile geom_part.c Log: SVN rev 185046 on 2008-11-18 04:04:01Z by marcel Use humanize_number(), rather than a home-grown algorithm for formatting a number in a human-friendly way. Note that with this commit a megabyte changed from 1000000 to 1048576 and a 80G disk is now printed as being 75G in size. This is deliberate. It's consistent with the core of geom(8). However, the original choice for a megabyte being 1000000 was on purpose and matches what disk vendors put on the box. The consistency is considered more important. Submitted by: delphij Revision Changes Path 1.2 +2 -0 src/sbin/geom/class/part/Makefile 1.13 +5 -13 src/sbin/geom/class/part/geom_part.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811180404.mAI4457J059656>