1BTRFS-FIND-ROOT(8) BTRFS BTRFS-FIND-ROOT(8)
2
3
4
6 btrfs-find-root - filter to find btrfs root
7
9 btrfs-find-root [options] <device>
10
12 btrfs-find-root is used to find the satisfied root, you can filter by
13 root tree's objectid, generation, level.
14
16 -a Search through all metadata extents, even the root has been al‐
17 ready found.
18
19 -g <generation>
20 Filter root tree by it's original transaction id, tree root's
21 generation in default.
22
23 -o <objectid>
24 Filter root tree by it's objectid,tree root's objectid in de‐
25 fault.
26
27 -l <level>
28 Filter root tree by b-tree's level, level 0 in default.
29
31 btrfs-find-root will return 0 if no error happened. If any problems
32 happened, 1 will be returned.
33
35 mkfs.btrfs(8)
36
37
38
39
406.1.3 Jan 25, 2023 BTRFS-FIND-ROOT(8)