1BTRFS-FIND-ROOT(8) Btrfs Manual 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
17 Search through all metadata extents, even the root has been already
18 found.
19
20 -g <generation>
21 Filter root tree by it’s original transaction id, tree root’s
22 generation in default.
23
24 -o <objectid>
25 Filter root tree by it’s objectid,tree root’s objectid in default.
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
39Btrfs v5.12.1 05/13/2021 BTRFS-FIND-ROOT(8)