btrfs-progs: update docs and completion for tree-stats

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Alexander Fougner 2016-03-11 12:49:46 +01:00 committed by David Sterba
parent d4abd0bfb0
commit 1a9df1c68b
2 changed files with 11 additions and 1 deletions

View File

@ -136,6 +136,16 @@ inode number 2), but such subvolume does not contain any files anyway
+ +
resolve the absolute path of a the subvolume id 'subvolid' resolve the absolute path of a the subvolume id 'subvolid'
*tree-stats* [options] <device>::
(needs root privileges)
+
Print sizes and statistics of trees.
+
`Options`
+
-b::::
Print raw numbers in bytes.
EXIT STATUS EXIT STATUS
----------- -----------
*btrfs inspect-internal* returns a zero exit status if it succeeds. Non zero is *btrfs inspect-internal* returns a zero exit status if it succeeds. Non zero is

View File

@ -36,7 +36,7 @@ _btrfs()
commands_device='scan add delete remove ready stats usage' commands_device='scan add delete remove ready stats usage'
commands_scrub='start cancel resume status' commands_scrub='start cancel resume status'
commands_rescue='chunk-recover super-recover' commands_rescue='chunk-recover super-recover'
commands_inspect_internal='inode-resolve logical-resolve subvolid-resolve rootid min-dev-size dump-tree dump-super' commands_inspect_internal='inode-resolve logical-resolve subvolid-resolve rootid min-dev-size dump-tree dump-super tree-stats'
commands_property='get set list' commands_property='get set list'
commands_quota='enable disable rescan' commands_quota='enable disable rescan'
commands_qgroup='assign remove create destroy show limit' commands_qgroup='assign remove create destroy show limit'