From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugo Mills Subject: [patch v2 3/4] Add an option to show ISO, binary or raw bytes counts using show. Date: Thu, 21 Oct 2010 20:01:38 +0100 Message-ID: <20101021190203.205680210@carfax.org.uk> References: <20101021190135.757086134@carfax.org.uk> Cc: Hugo Mills To: linux-btrfs@vger.kernel.org Return-path: List-ID: 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(-) 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", "[|