From patchwork Thu Oct 21 19:01:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Mills X-Patchwork-Id: 271971 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9LJBXIT029982 for ; Thu, 21 Oct 2010 19:11:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757848Ab0JUTL2 (ORCPT ); Thu, 21 Oct 2010 15:11:28 -0400 Received: from frost.carfax.org.uk ([212.13.194.111]:1520 "EHLO frost.carfax.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757642Ab0JUTLX (ORCPT ); Thu, 21 Oct 2010 15:11:23 -0400 Received: from intmx.carfax.org.uk ([10.0.0.5] helo=vlad.carfax.org.uk ident=Debian-exim) by frost.carfax.org.uk with esmtp (Exim 4.69) (envelope-from ) id 1P90Xp-0004IP-R2 for linux-btrfs@vger.kernel.org; Thu, 21 Oct 2010 19:11:22 +0000 Received: from hrm by vlad.carfax.org.uk with local (Exim 4.69) (envelope-from ) id 1P90Xp-0002k3-J9 for linux-btrfs@vger.kernel.org; Thu, 21 Oct 2010 20:11:21 +0100 Message-Id: <20101021190203.205680210@carfax.org.uk> References: <20101021190135.757086134@carfax.org.uk> User-Agent: quilt/0.46-1 Date: Thu, 21 Oct 2010 20:01:38 +0100 From: Hugo Mills To: linux-btrfs@vger.kernel.org Cc: Hugo Mills Subject: [patch v2 3/4] Add an option to show ISO, binary or raw bytes counts using show. Content-Disposition: inline; filename=show-numbers X-frost.carfax.org.uk-Spam-Score: -0.0 (/) X-frost.carfax.org.uk-Spam-Report: Spam detection software, running on the system "spamd3.lon.bitfolk.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Change btrfs filesystem show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills --- btrfs.c | 2 +- btrfs_cmds.c | 45 ++++++++++++++++++++++++++++++++++++++------- man/btrfs.8.in | 10 ++++++++++ 3 files changed, 49 insertions(+), 8 deletions(-) [...] Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 21 Oct 2010 19:11:34 +0000 (UTC) Index: btrfs-progs-unstable/btrfs.c =================================================================== --- btrfs-progs-unstable.orig/btrfs.c 2010-10-20 20:03:37.000000000 +0100 +++ btrfs-progs-unstable/btrfs.c 2010-10-20 20:11:03.000000000 +0100 @@ -83,7 +83,7 @@ "will occupe all available space on the device." }, { do_show_filesystem, 999, - "filesystem show", "[|