From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 25 23:28:26 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACF521065670; Fri, 25 Mar 2011 23:28:26 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 64E658FC13; Fri, 25 Mar 2011 23:28:26 +0000 (UTC) Received: by iyj12 with SMTP id 12so1993859iyj.13 for ; Fri, 25 Mar 2011 16:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4aWpqRDJZygvCFmV69m8KhltpAV1S1S1R1anAWa6Y9Q=; b=j0p8z12vUaGRDxMQu7JLxhwzUxWoHpnwEL9zHp/FS6Cf2s5PTw+9b1NoL9yoBhCi3Q lmlMdb41hzzwiVJr/l4K4ZhCP9bpE8FblTd0fYTYcPCmjtI0q6fkE4+gCLbFSWGzPI/4 rZyvSQhvhaw1n0DOfiwM5AGSndCjwo5BPa+a0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=T9nhxzGkcTooM38GVLew9NZrKDJ246bDlxFiMwZhy7iS3CGFYcraRNTZGtYuoSCygW RrUnOnhte5pcyD+gE01vgPDHkzlICIcYVMMThkYCyJFobq/5qlhj8EvovOq/TLuiK0Pu RjaNnpTSiSGMlfZ5qOQUCa79OMp0FC+J+it6U= MIME-Version: 1.0 Received: by 10.231.197.27 with SMTP id ei27mr1279395ibb.198.1301095706027; Fri, 25 Mar 2011 16:28:26 -0700 (PDT) Received: by 10.231.143.209 with HTTP; Fri, 25 Mar 2011 16:28:25 -0700 (PDT) In-Reply-To: References: <20110325002115.GA323@freebsd.org> <20110325015508.GA14565@freebsd.org> <20110325024658.GA19544@freebsd.org> <336A9ACD-29BF-41C9-BC25-917CC1E4587D@bsdimp.com> <20110325195325.GA69264@freebsd.org> Date: Fri, 25 Mar 2011 16:28:25 -0700 Message-ID: From: Xin LI To: Warner Losh Content-Type: text/plain; charset=UTF-8 Cc: Alexander Best , freebsd-hackers@freebsd.org Subject: Re: Switching to [KMGTPE]i prefixes? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 23:28:26 -0000 On Fri, Mar 25, 2011 at 2:50 PM, Warner Losh wrote: > How did you guys deal with programs like df that now need to do special buffer size hacks to get consistent results? I think it doesn't really matter - caller have to specify using IEC prefixes explicitly, so old binaries won't be broken. They must be updated to use the IEC prefixes. Cheers, -- Xin LI http://www.delphij.net