From owner-freebsd-fs@FreeBSD.ORG Mon Jun 13 10:56:48 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9255B106564A for ; Mon, 13 Jun 2011 10:56:48 +0000 (UTC) (envelope-from numisemis@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B31D8FC12 for ; Mon, 13 Jun 2011 10:56:47 +0000 (UTC) Received: by bwz12 with SMTP id 12so5316941bwz.13 for ; Mon, 13 Jun 2011 03:56:47 -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:content-type; bh=Y4pICHgw95NQYbd4PH6A2b5pTRbCS9OgaMoy8pb11os=; b=quy3yzlpdT5j+nXc522F9fEXAqoRpERHnRHi8bjbid3ikJJLTZVcCEq7gnxBFtnXz9 zGHMBo8QgR9Hm1vMBILVYfUl1yNODlcOoCau5K3CrvdVEWvV5XIdDrVUIrUHGLuII7/S mW6t3c37/yF6UT4MGakHXPrtrxYs7jGsh3P60= 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 :content-type; b=rO+t/m7jj97xl+LJzNOmJ2spbbwzTCdp4wsXhU99SePZTz0J0KEtyxxEulEAf3lD5C ugjwdrbRuapjrF+J7iDBbboVDEdIX6yzqfafBTPqT+ehbzaP0qIi8sXpzy4NOf3PuuPW 6jvu3OC+V56cf2bD/HhgUiWoDEmEZwM4t/WlA= MIME-Version: 1.0 Received: by 10.204.130.16 with SMTP id q16mr4441609bks.192.1307962606926; Mon, 13 Jun 2011 03:56:46 -0700 (PDT) Received: by 10.204.180.139 with HTTP; Mon, 13 Jun 2011 03:56:46 -0700 (PDT) In-Reply-To: <3DA28334D5774636A0DDEB48D8A43A91@multiplay.co.uk> References: <20110613094803.GA10290@icarus.home.lan> <3DA28334D5774636A0DDEB48D8A43A91@multiplay.co.uk> Date: Mon, 13 Jun 2011 12:56:46 +0200 Message-ID: From: =?UTF-8?Q?=C5=A0imun_Mikecin?= To: Steven Hartland , freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Impossible compression ratio on ZFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2011 10:56:48 -0000 2011/6/13 Steven Hartland > Using 'du' for file sizes (without -A option) is wrong in the first place. >> Any program or script that is using it in such a way is broken and should >> be >> corrected. >> > > That's not true, -A displays the apparent size not the actual disk usage > which is what we want. Disk usage is not equal to file size. 'ls -al' shows file size, 'du' shows disk usage. Use the one you need, but don't expect them to be the same thing.