diff options
author | David Sterba <dsterba@suse.com> | 2016-03-10 15:57:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-03-14 13:42:47 +0100 |
commit | 69874af7b81519e40db9d92efa6beebee4220c63 (patch) | |
tree | f05db7b6fca760e4954017b42338db29515bd7ce /Documentation | |
parent | 1538bc01adc41dcd742e12283ac5dfe319849705 (diff) |
btrfs-progs: dump-tree: let --tree understand name of the tree
For practical purposes teach -t about the human readable names of the
trees in addition to the numerical id. The name syntax is flexible.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/btrfs-inspect-internal.asciidoc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc index f19522f4..d71b10a8 100644 --- a/Documentation/btrfs-inspect-internal.asciidoc +++ b/Documentation/btrfs-inspect-internal.asciidoc @@ -46,7 +46,16 @@ print only the uuid tree information, empty output if the tree does not exist -b <block_num>:::: print info of the specified block only -t <tree_id>:::: -print only the tree with the specified numerical ID +print only the tree with the specified ID, where the ID can be numerical or +common name in a flexible human readable form ++ +The tree id name recognition rules: +[options="compact"] +* case does not matter +* the C source definition, eg. BTRFS_ROOT_TREE_OBJECTID +* short forms without BTRFS_ prefix, without _TREE and _OBJECTID suffix, eg. ROOT_TREE, ROOT +* convenience aliases, eg. DEVICE for the DEV tree, CHECKSUM for CSUM +* unrecognized ID is an error *inode-resolve* [-v] <ino> <path>:: (needs root privileges) |