Currently, `btrfs filesystem df` uses the pretty_size() function, which automatically selects a unit to display a size in, e.g. 1024 bytes will be displayed as "1.00KiB". This makes parsing the output of `filesystem df` unnecessarily hard, so I've added the options -b, -k, -m, and -g to get the output in bytes, kibi-, mebi-, and gibibytes respectively. Nils Steinger (1): Add options to use a fixed unit for `filesystem df` instead of determining it automatically. cmds-filesystem.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++------- utils.c | 30 +++++++++++++++++++++++++++ utils.h | 8 +++++++ 3 files changed, 93 insertions(+), 7 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html