summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-device.txt
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-12-18 15:23:08 +0100
committerDavid Sterba <dsterba@suse.cz>2014-12-18 15:24:45 +0100
commit50662b31002a19ca0aad200d2317f5ee832c4fc5 (patch)
tree0882e1fc2556948c2c09a0bac646d6b4e9f06f56 /Documentation/btrfs-device.txt
parentabef6fd343ddc7c93b7ac032885419e4ec594ed1 (diff)
btrfs-progs: dev usage, update manpage
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation/btrfs-device.txt')
-rw-r--r--Documentation/btrfs-device.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt
index 46c54b94..4cd633fe 100644
--- a/Documentation/btrfs-device.txt
+++ b/Documentation/btrfs-device.txt
@@ -98,6 +98,32 @@ identified by <path> or for a single <device>.
-z::::
Reset stats to zero after reading them.
+*usage* [options] <path> [<path>...]::
+Show detailed information about internal allocations in devices.
++
+`Options`
++
+-b|--raw::::
+raw numbers in bytes, without the 'B' suffix
+-h::::
+print human friendly numbers, base 1024, this is the default
+-H::::
+print human friendly numbers, base 1000
+--iec::::
+select the 1024 base for the following options, according to the IEC standard
+--si::::
+select the 1000 base for the following options, according to the SI standard
+-k|--kbytes::::
+show sizes in KiB, or kB with --si
+-m|--mbytes::::
+show sizes in MiB, or MB with --si
+-g|--gbytes::::
+show sizes in GiB, or GB with --si
+-t|--tbytes::::
+show sizes in TiB, or TB with --si
+
+If conflicting options are passed, the last one takes precedence.
+
EXIT STATUS
-----------
*btrfs device* returns a zero exit status if it succeeds. Non zero is