From: hugo-lkml@carfax.org.uk Subject: [patch 3/4] Add an option to show ISO, binary or raw bytes counts using show. Date: Sun, 17 Oct 2010 19:26:46 +0100 Message-ID: <20101017182706.657478461@carfax.org.uk> References: <20101017182643.297900488@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 | 5 +++-- btrfs_cmds.c | 42 +++++++++++++++++++++++++++++++++++------- 2 files changed, 38 insertions(+), 9 deletions(-) Index: btrfs-progs-unstable/btrfs.c =================================================================== --- btrfs-progs-unstable.orig/btrfs.c 2010-10-17 18:47:36.000000000 +0100 +++ btrfs-progs-unstable/btrfs.c 2010-10-17 18:48:38.000000000 +0100 @@ -83,9 +83,10 @@ "will occupe all available space on the device." }, { do_show_filesystem, 999, - "filesystem show", "[|