btrfs-find-root man page

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)

Info

11/30/2016 Btrfs v4.8.5 Btrfs Manual