man > btrfs-find-root(8)

BTRFS-FIND-ROOT(8)                          Btrfs Manual                          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
       -a
           Search through all metadata extents, even the root has been 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)



Btrfs v5.16.2                                02/16/2022                           BTRFS-FIND-ROOT(8)

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 04:17 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!