summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-find-root.8
blob: bda5d689ebed109972c4b1f155985e552c494419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
'\" t
.\"     Title: btrfs-find-root
.\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 12/05/2018
.\"    Manual: Btrfs Manual
.\"    Source: Btrfs v4.19.1
.\"  Language: English
.\"
.TH "BTRFS\-FIND\-ROOT" "8" "12/05/2018" "Btrfs v4\&.19\&.1" "Btrfs Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
btrfs-find-root \- filter to find btrfs root
.SH "SYNOPSIS"
.sp
\fBbtrfs\-find\-root\fR [options] \fI<device>\fR
.SH "DESCRIPTION"
.sp
\fBbtrfs\-find\-root\fR is used to find the satisfied root, you can filter by root tree\(cqs objectid, generation, level\&.
.SH "OPTIONS"
.PP
\-a
.RS 4
Search through all metadata extents, even the root has been already found\&.
.RE
.PP
\-g \fI<generation>\fR
.RS 4
Filter root tree by it\(cqs original transaction id, tree root\(cqs generation in default\&.
.RE
.PP
\-o \fI<objectid>\fR
.RS 4
Filter root tree by it\(cqs objectid,tree root\(cqs objectid in default\&.
.RE
.PP
\-l \fI<level>\fR
.RS 4
Filter root tree by B\-+ tree\(cqs level, level 0 in default\&.
.RE
.SH "EXIT STATUS"
.sp
\fBbtrfs\-find\-root\fR will return 0 if no error happened\&. If any problems happened, 1 will be returned\&.
.SH "SEE ALSO"
.sp
\fBmkfs\&.btrfs\fR(8)