summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-find-root.asciidoc
blob: e04cd3e822ccff187f11f2acaec383bfdf908259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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)