diff options
Diffstat (limited to 'Documentation/btrfs-find-root.asciidoc')
-rw-r--r-- | Documentation/btrfs-find-root.asciidoc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/btrfs-find-root.asciidoc b/Documentation/btrfs-find-root.asciidoc new file mode 100644 index 00000000..e04cd3e8 --- /dev/null +++ b/Documentation/btrfs-find-root.asciidoc @@ -0,0 +1,35 @@ +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) |