'\" t .\" Title: btrfs-debug-tree .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 11/22/2014 .\" Manual: Btrfs Manual .\" Source: Btrfs v3.17 .\" Language: English .\" .TH "BTRFS\-DEBUG\-TREE" "8" "11/22/2014" "Btrfs v3\&.17" "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-debug-tree \- dump btrfs filesystem metadata into stdout .SH "SYNOPSIS" .sp \fBbtrfs\-debug\-tree\fR [options] \fI\fR .SH "DESCRIPTION" .sp \fBbtrfs\-debug\-tree\fR is used to dump the whole tree of the given device\&. .sp This is maybe useful for analyzing filesystem state or inconsistence and has a positive educational effect on understanding the internal structure\&. \fI\fR is the device file where the filesystem is stored\&. .SH "OPTIONS" .PP \-e .RS 4 Print detailed extents info\&. .RE .PP \-d .RS 4 Print info of btrfs device and root tree dirs only\&. .RE .PP \-r .RS 4 Print info of roots only\&. .RE .PP \-b \fI\fR .RS 4 Print info of the specified block only\&. .RE .SH "EXIT STATUS" .sp \fBbtrfs\-debug\-tree\fR will return 0 if no error happened\&. If any problems happened, 1 will be returned\&. .SH "SEE ALSO" .sp \fBmkfs\&.btrfs\fR(8)