# btrfs-find-root - filter to find btrfs root - man(8) - [phpMan]

[_BTRFS-FIND-ROOT_(8)](https://www.chedong.com/phpMan.php/man/BTRFS-FIND-ROOT/8/markdown)                              BTRFS                             [_BTRFS-FIND-ROOT_(8)](https://www.chedong.com/phpMan.php/man/BTRFS-FIND-ROOT/8/markdown)

## 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
### -a     

### -g _
              Filter root tree by it's original transaction id, tree root's generation in default.

### -o _
              Filter root tree by it's objectid,tree root's objectid in default.

### -l _
              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  re‐
       turned.

## SEE ALSO
       [_mkfs.btrfs(8)](https://www.chedong.com/phpMan.php/man/mkfs.btrfs/8/markdown)_


6.6.3                                       Mar 31, 2024                          [_BTRFS-FIND-ROOT_(8)](https://www.chedong.com/phpMan.php/man/BTRFS-FIND-ROOT/8/markdown)
