Debian Codegraph @

upstream/debian-trixie/man8/btrfs-map-logical.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "BTRFS-MAP-LOGICAL" "8" "May 18, 2026" "7.0" "BTRFS"
31 .SH NAME
32 btrfs-map-logical \- map btrfs logical extent to physical extent
33 .SH SYNOPSIS
34 .sp
35 \fBbtrfs\-map\-logical\fP <options> <device>
36 .SH DESCRIPTION
37 .sp
38 \fBbtrfs\-map\-logical\fP can be used to find out what the physical offsets are
39 on the mirrors, the result is dumped to stdout by default.
40 .sp
41 Mainly used for debug purpose.
42 .SH OPTIONS
43 .INDENT 0.0
44 .TP
45 .B \-l|\-\-logical <logical_num>
46 Logical extent to map.
47 .TP
48 .B \-c|\-\-copy <copy>
49 Copy of the extent to read(usually 1 or 2).
50 .TP
51 .B \-o|\-\-output <filename>
52 Output file to hold the extent.
53 .TP
54 .B \-b|\-\-bytes <bytes>
55 Number of bytes to read.
56 .UNINDENT
57 .SH EXIT STATUS
58 .sp
59 \fBbtrfs\-map\-logical\fP will return 0 if no error happened.
60 If any problems happened, 1 will be returned.
61 .SH SEE ALSO
62 .sp
63 \fI\%mkfs.btrfs(8)\fP
64 .\" Generated by docutils manpage writer.
65 .