From owner-cvs-src@FreeBSD.ORG Thu Jun 1 21:46:36 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95AF016B9CF; Thu, 1 Jun 2006 21:46:36 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E36343D58; Thu, 1 Jun 2006 21:46:35 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k51LhWwJ080015; Thu, 1 Jun 2006 15:43:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 01 Jun 2006 15:43:39 -0600 (MDT) Message-Id: <20060601.154339.282836685.imp@bsdimp.com> To: bzeeb-lists@lists.zabbadoz.net From: "M. Warner Losh" In-Reply-To: <20060601212702.X79180@maildrop.int.zabbadoz.net> References: <200605271827.k4RIRf7G078768@repoman.freebsd.org> <200606011709.28816.jkim@FreeBSD.org> <20060601212702.X79180@maildrop.int.zabbadoz.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, krion@FreeBSD.org, cvs-all@FreeBSD.org, jkim@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/find find.1 function.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 21:46:46 -0000 In message: <20060601212702.X79180@maildrop.int.zabbadoz.net> "Bjoern A. Zeeb" writes: : On Thu, 1 Jun 2006, Jung-uk Kim wrote: : : > On Saturday 27 May 2006 02:27 pm, Kirill Ponomarew wrote: : >> krion 2006-05-27 18:27:41 UTC : >> : >> FreeBSD src repository : >> : >> Modified files: : >> usr.bin/find find.1 function.c : >> Log: : >> Add the capability for a trailing scale indicator to cause the : >> specified size to be read in the more familiar units of : >> kilobytes, megabytes, gigabytes, terabytes and petabytes. : >> : > off_t may not be long long. I think you should do something like the : > attached patch and you may just remove the comments. : : These names are wrong anyway. : What you have are 2^10^{1,2,3,4,5} and that is : {kibi,mebi,gibi,tebi,pebi}bytes [1]. : : [1] http://physics.nist.gov/cuu/Units/binary.html The 'bibibibibibibibibibi' byte stuff is silly. Historically that usage is correct. Warner