"Fossies" - the Fresh Open Source Software Archive

Member "btrfs-progs-v5.4/Documentation/btrfs-map-logical.asciidoc" (3 Dec 2019, 762 Bytes) of package /linux/misc/btrfs-progs-v5.4.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) AsciiDoc source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 btrfs-map-logical(8)
    2 ====================
    3 
    4 NAME
    5 ----
    6 btrfs-map-logical - map btrfs logical extent to physical extent
    7 
    8 SYNOPSIS
    9 --------
   10 *btrfs-map-logical* <options> <device>
   11 
   12 DESCRIPTION
   13 -----------
   14 *btrfs-map-logical* can be used to find out what the physical offsets are
   15 on the mirrors, the result is dumped to stdout by default.
   16 
   17 Mainly used for debug purpose.
   18 
   19 OPTIONS
   20 -------
   21 -l|--logical <logical_num>::
   22 Logical extent to map.
   23 -c|--copy <copy>::
   24 Copy of the extent to read(usually 1 or 2).
   25 -o|--output <filename>::
   26 Output file to hold the extent.
   27 -b|--bytes <bytes>::
   28 Number of bytes to read.
   29 
   30 EXIT STATUS
   31 -----------
   32 *btrfs-map-logical* will return 0 if no error happened.
   33 If any problems happened, 1 will be returned.
   34 
   35 SEE ALSO
   36 --------
   37 `mkfs.btrfs`(8)