btrfs-progs: hide FS occupied from device usage output
authorDavid Sterba <dsterba@suse.cz>
Wed, 14 May 2014 18:06:47 +0000 (20:06 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 4 Dec 2014 15:48:12 +0000 (16:48 +0100)
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>
cmds-fi-disk_usage.c

index 2c3c0a3..eb64512 100644 (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
 }