btrfs-progs/Documentation/btrfs-find-root.txt
Qu Wenruo d91d68294c btrfs-progs: find-root, add option to search through all the metadata extents
Add option '-a' for btrfs-find-root to iterate all the metadata extents
even the root is already found.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
2015-02-11 18:34:06 +01:00

36 lines
796 B
Plaintext

btrfs-find-root(8)
==================
NAME
----
btrfs-find-root - filter to find btrfs root
SYNOPSIS
--------
*btrfs-find-root* [options] <dev>
DESCRIPTION
-----------
*btrfs-find-root* is used to find the satisfied root, you can filter by
root tree's objectid, generation, level.
OPTIONS
-------
-a::
Search through all the metadata extents, even the root is already found.
-g <generation>::
Filter root tree by it's original transaction id, tree root's generation in default.
-o <objectid>::
Filter root tree by it's objectid,tree root's objectid in default.
-l <level>::
Filter root tree by B-+ tree's level, level 0 in default.
EXIT STATUS
-----------
*btrfs-find-root* will return 0 if no error happened.
If any problems happened, 1 will be returned.
SEE ALSO
--------
`mkfs.btrfs`(8)