summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-filesystem.txt
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-12-18 15:20:11 +0100
committerDavid Sterba <dsterba@suse.cz>2014-12-18 15:24:45 +0100
commit488c53a0e5e255f9504cfc2a029e7c1c72994f66 (patch)
tree5c937f2b0627cff01c38c557604048fc2d1d784b /Documentation/btrfs-filesystem.txt
parent14e5f687fbb00599cc6923dba71dd93bd5220c46 (diff)
btrfs-progs: fi usage, update manpage
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation/btrfs-filesystem.txt')
-rw-r--r--Documentation/btrfs-filesystem.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt
index a8f2972a..85a94eb5 100644
--- a/Documentation/btrfs-filesystem.txt
+++ b/Documentation/btrfs-filesystem.txt
@@ -123,6 +123,34 @@ Show or update the label of a filesystem.
If a newlabel optional argument is passed, the label is changed.
NOTE: the maximum allowable length shall be less than 256 chars
+*usage* [options] <path> [<path>...]::
+Show detailed information about internal filesystem usage.
++
+`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
+-T::::
+show data in tabular format
+
+If conflicting options are passed, the last one takes precedence.
+
EXIT STATUS
-----------
*btrfs filesystem* returns a zero exit status if it succeeds. Non zero is