btrfs-progs: hide FS occupied from device usage output

The term has not seen an agreement and we don't want to change it once
it's in non-development branches or even released.

Discussion under the patch:
http://thread.gmane.org/gmane.comp.file-systems.btrfs/34627

Signed-off-by: David Sterba <dsterba@suse.cz>
master
David Sterba 2014-05-14 20:06:47 +02:00
parent 8f43fed5e2
commit 3ab60c6a62
1 changed files with 6 additions and 0 deletions

View File

@ -906,7 +906,13 @@ void print_device_sizes(int fd, struct device_info *devinfo, int mode)
printf(" Device size: %*s%10s\n",
(int)(20 - strlen("Device size")), "",
pretty_size_mode(devinfo->device_size, mode));
#if 0
/*
* The term has not seen an agreement and we don't want to change it
* once it's in non-development branches or even released.
*/
printf(" FS occupied: %*s%10s\n",
(int)(20 - strlen("FS occupied")), "",
pretty_size_mode(devinfo->size, mode));
#endif
}