Guest User

Untitled

a guest
Jan 11th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. DDRESCUE(1) User Commands DDRESCUE(1)
  2.  
  3. NAME
  4. ddrescue - data recovery tool
  5.  
  6. SYNOPSIS
  7. ddrescue [options] infile outfile [logfile]
  8.  
  9. DESCRIPTION
  10. GNU ddrescue - Data recovery tool. Copies data from one file or block device to another, trying to rescue the good parts first in case of read errors.
  11.  
  12. You should use a logfile unless you know what you are doing. If you reboot, check the device names before restarting ddrescue. Do not use options '-F' or '-G' without reading the manual first.
  13.  
  14. OPTIONS
  15. -h, --help
  16. display this help and exit
  17.  
  18. -V, --version
  19. output version information and exit
  20.  
  21. -a, --min-read-rate=<bytes>
  22. minimum read rate of good areas in bytes/s
  23.  
  24. -A, --try-again
  25. mark non-trimmed, non-scraped as non-tried
  26.  
  27. -b, --sector-size=<bytes>
  28. sector size of input device [default 512]
  29.  
  30. -B, --binary-prefixes
  31. show binary multipliers in numbers [SI]
  32.  
  33. -c, --cluster-size=<sectors>
  34. sectors to copy at a time [128]
  35.  
  36. -C, --complete-only
  37. do not read new data beyond logfile limits
  38.  
  39. -d, --direct
  40. use direct disc access for input file
  41.  
  42. -D, --synchronous
  43. use synchronous writes for output file
  44.  
  45. -e, --max-errors=[+]<n>
  46. maximum number of [new] error areas allowed
  47.  
  48. -E, --max-error-rate=<bytes>
  49. maximum allowed rate of read errors per second
  50.  
  51. -f, --force
  52. overwrite output device or partition
  53.  
  54. -F, --fill-mode=<types>
  55. fill given type blocks with infile data (?*/-+)
  56.  
  57. -G, --generate-mode
  58. generate approximate logfile from partial copy
  59.  
  60. -H, --test-mode=<file>
  61. set map of good/bad blocks from given logile
  62.  
  63. -i, --input-position=<bytes>
  64. starting position of domain in input file [0]
  65.  
  66. -I, --verify-input-size
  67. verify input file size with size in logfile
  68.  
  69. -K, --skip-size=<min>[,<max>]
  70. initial size to skip on read error [64 KiB]
  71.  
  72. -L, --loose-domain
  73. accept an incomplete domain logfile
  74.  
  75. -m, --domain-logfile=<file>
  76. restrict domain to finished blocks in file
  77.  
  78. -M, --retrim
  79. mark all failed blocks as non-trimmed
  80.  
  81. -n, --no-scrape
  82. skip the scraping phase
  83.  
  84. -N, --no-trim
  85. skip the trimming phase
  86.  
  87. -o, --output-position=<bytes>
  88. starting position in output file [ipos]
  89.  
  90. -O, --reopen-on-error
  91. reopen input file after every read error
  92.  
  93. -p, --preallocate
  94. preallocate space on disc for output file
  95.  
  96. -P, --data-preview[=<lines>]
  97. show some lines of the latest data read [3]
  98.  
  99. -q, --quiet
  100. suppress all messages
  101.  
  102. -r, --retry-passes=<n>
  103. exit after <n> retry passes (-1=infinity) [0]
  104.  
  105. -R, --reverse
  106. reverse the direction of all passes
  107.  
  108. -s, --size=<bytes>
  109. maximum size of input data to be copied
  110.  
  111. -S, --sparse
  112. use sparse writes for output file
  113.  
  114. -t, --truncate
  115. truncate output file to zero size
  116.  
  117. -T, --timeout=<interval>
  118. maximum time since last successful read
  119.  
  120. -u, --unidirectional
  121. run all passes in the same direction
  122.  
  123. -v, --verbose
  124. be verbose (a 2nd -v gives more)
  125.  
  126. -w, --ignore-write-errors
  127. make fill mode ignore write errors
  128.  
  129. -x, --extend-outfile=<bytes>
  130. extend outfile size to be at least this long
  131.  
  132. -X, --exit-on-error
  133. exit after the first read error
  134.  
  135. -1, --log-rates=<file>
  136. log rates and error sizes in file
  137.  
  138. -2, --log-reads=<file>
  139. log all read operations in file
  140.  
  141. --ask ask for confirmation before starting the copy
  142.  
  143. --cpass=<n>[,<n>]
  144. select what copying pass(es) to run
  145.  
  146. --pause=<interval>
  147. time to wait between passes [0]
  148.  
  149. Numbers may be in decimal, hexadecimal or octal, and may be followed by a multiplier: s = sectors, k = 1000, Ki = 1024, M = 10^6, Mi = 2^20, etc... Time intervals have the format 1[.5][smhd] or
  150. 1/2[smhd].
  151.  
  152. Exit status: 0 for a normal exit, 1 for environmental problems (file not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or invalid input file, 3 for an internal consistency
  153. error (eg, bug) which caused ddrescue to panic.
  154.  
  155. REPORTING BUGS
  156. Report bugs to [email protected]
  157. Ddrescue home page: http://www.gnu.org/software/ddrescue/ddrescue.html
  158. General help using GNU software: http://www.gnu.org/gethelp
  159.  
  160. COPYRIGHT
  161. Copyright © 2014 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
  162. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
  163.  
  164. SEE ALSO
  165. The full documentation for ddrescue is maintained as a Texinfo manual. If the info and ddrescue programs are properly installed at your site, the command
  166.  
  167. info ddrescue
  168.  
  169. should give you access to the complete manual.
  170.  
  171. ddrescue 1.19 October 2014 DDRESCUE(1)
Advertisement
Add Comment
Please, Sign In to add comment