Scroll to navigation

BTRFS-FIND-ROOT(8) BTRFS BTRFS-FIND-ROOT(8)

NAME

btrfs-find-root - filter to find btrfs root

SYNOPSIS

btrfs-find-root [options] <device>

DESCRIPTION

btrfs-find-root is used to find the satisfied root, you can filter by root tree's objectid, generation, level.

OPTIONS

Search through all metadata extents, even the root has been already found.
Filter root tree by it's original transaction id, tree root's generation in default.
Filter root tree by it's objectid,tree root's objectid in default.
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)

April 30, 2023 6.2