From b72e4c4e1923b908b7242c7d6646391eb4043a93 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Wed, 13 Jan 2010 18:21:23 +0000 Subject: Btrfs-progs: add btrfs filesystem df to print space info This goes along with the new space info ioctl. This will spit out the space info all nice and pretty with the type, it's flags (DUP, RAID) and how much space is in that group and how much is in use. Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- btrfs.c | 4 +++ btrfs_cmds.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ btrfs_cmds.h | 1 + ioctl.h | 14 ++++++++++ 4 files changed, 107 insertions(+) diff --git a/btrfs.c b/btrfs.c index ce7955b9..f1a8806c 100644 --- a/btrfs.c +++ b/btrfs.c @@ -83,6 +83,10 @@ static struct Command commands[] = { "Show the info of a btrfs filesystem. If no or