DDRESCUELOG(1)
π DDRESCUELOG(1) π
okay bestie, so this is a User Commands page β it's ddrescuelog, the lil sidekick tool that lives in the ddrescue universe. pull up a chair, we're gonna go through it together π«Ά
β¨ NAME β¨
ddrescuelog β it's the tool for ddrescue mapfiles, periodt π
β¨ SYNOPSIS β¨
ddrescuelog [options] mapfile
like, that's it. options, then the mapfile. iconic. β¨
πΈ DESCRIPTION πΈ
GNU ddrescuelog is a tool that manipulates ddrescue mapfiles, shows mapfile contents, converts mapfiles to/from other formats, compares mapfiles, tests rescue status, and can delete a mapfile if the rescue is done. so basically it's giving mapfile main character energy π and if you use the domain setting options, you can restrict ddrescuelog operations to just one part or a few parts of the mapfile. narrow it down, bestie π―
Use a hyphen - as mapfile to read the mapfile from standard input (and yes, that goes for the options that take a mapfile argument too) or to write the mapfile created by --create-mapfile to standard output. stdin/stdout pipeline slay π
NOTE: in versions of ddrescue prior to 1.20 the mapfile was calledlogfile. the format is literally the same, only the name changed. so if you seelogfilesomewhere in the wild, don't panic, it's the same girl π
π OPTIONS π
-h,--helpβ display this help and exit. your lil "what do i do" button π-V,--versionβ output version information and exit-a,--change-types=<ot>,<nt>β change the block types of mapfile-A,--annotate-mapfileβ add comments with human-readable pos/sizes-b,--block-size=<bytes>β block (sector) size in bytes [default512]-B,--binary-prefixesβ show binary multipliers in numbers [SI]-c,--create-mapfile[=<tt>]β create mapfile from list of blocks [+-]-C,--complete-mapfile[=<t>]β complete mapfile adding blocks of type t [?]-d,--delete-if-doneβ delete the mapfile if rescue is finished. bye bestie π-D,--done-statusβ return0if rescue is finished-f,--forceβ overwrite existing output files-F,--format=<name>β format for-cand-l(list,bitmap-[bl]e)-H,--make-test=<C:H:S:to:bh>β create mapfile for test mode of ddrescue-i,--input-position=<bytes>β starting position of rescue domain [0]-l,--list-blocks=<types>β print block numbers of given types (?*/-+)-L,--loose-domainβ accept unordered domain mapfile with gaps-m,--domain-mapfile=<file>β restrict domain to finished blocks in file-n,--invert-mapfileβ invert block types (finished <--> others)-o,--output-position=<bytes>β starting position in output file [ipos]-p,--compare-mapfile=<file>β compare block types in domain of both files-P,--compare-as-domain=<file>β like-pbut compare finished blocks only-q,--quietβ suppress all messages π€«-s,--size=<bytes>β maximum size of rescue domain to be processed-t,--show-statusβ show a summary of mapfile contents-v,--verboseβ be verbose (a 2nd-vgives more)-x,--xor-mapfile=<file>β XOR the finished blocks in file with mapfile-y,--and-mapfile=<file>β AND the finished blocks in file with mapfile-z,--or-mapfile=<file>β OR the finished blocks in file with mapfile--shiftβ shift all block positions by (opos-ipos)
Numbers may be in decimal, hexadecimal, or octal, may contain underscore separators between groups of digits, and may be followed by a SI or binary multiplier and s for 'sectors': 1_234_567kB, 4Kis, 0x1234_5678, 07_777. so many flavours, all valid, we love a flexible number π
The syntax of the argument of option -H is:
<cylinders:heads:sectors1[-sectors2[,tracks_per_zone]]:track_order:bad_head>
π₯ EXIT STATUS π₯
0β for a normal exit, we ate π1β for environmental problems (file not found, invalid command-line options, I/O errors, etc)2β to indicate a corrupt or invalid input file π3β for an internal consistency error (e.g., bug) which caused ddrescuelog to panic. not the vibe π
π¦ REPORTING BUGS π¦
Report bugs to bug-ddrescue@gnu.org β tell them everything, bestie, they wanna know π«Ά
Ddrescue home page: http://www.gnu.org/software/ddrescue/ddrescue.html
General help using GNU software: http://www.gnu.org/gethelp
π COPYRIGHT π
Copyright Β© 2026 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
so yes, share it, remix it, redistribute it β but no warranty, ngl, that's the deal π€
π SEE ALSO π
The full documentation for ddrescuelog is maintained as a Texinfo manual. If the info and ddrescuelog programs are properly installed at your site, the command
info ddrescue
should give you access to the complete manual. go read it, it's giving encyclopedia but make it rescue-tool β
okay that's the whole page, you're officially a ddrescuelog girlie now π this was GNU ddrescuelog 1.30, dated January 2026 β mwah, take care of your mapfiles πβ¨
π¦ where this page comes from
- alpine 3.24: ddrescue-doc 1.30-r0 Β· GPL-3.0-or-later
- arch rolling: ddrescue 1.30-2 Β· GPL-2.0-or-later
- epel 10: ddrescue 1.30-1.el10_2 Β· GPL-3.0-or-later
- epel 9: ddrescue 1.30-1.el9 Β· GPL-3.0-or-later
- fedora 43: ddrescue 1.30-1.fc43 Β· GPL-3.0-or-later
- fedora 44: ddrescue 1.30-3.fc44 Β· GPL-3.0-or-later
- nixpkgs unstable: ddrescue 1.30
- ubuntu resolute: gddrescue 1.30-1 Β· GPL-2.0-or-later
- ubuntu stonking: gddrescue 1.30-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms