![]() There are plugins for compression, hashing and encryption. It may also help data protection by securely overwriting data. It does not normally abort or truncate the output. This program is useful to rescue data in case of I/O errors, because With -2 SEED/SEEDFILE you only get one random pass (r,0). With -4 SEED/SEEDFILE you get an additional random pass (r,ir,r2,0). Likewise, -3 SEED/SEEDFILE will overwrite ofile 3 times (r,ir,0, BSI M7.15). Using /dev/urandom as SEEDFILE gives good pseudo random numbers. Instead of infile, -z/Z SEED or -z/Z SEEDFILE may be specified, taking the PRNGįrom libc or frandom (RC4 based) as input. F offr/repw/rep] fault injection (hardbs off) r/w Y oname Secondary output file (multiple possible), C limit rateControl: avoid xfer data faster than limit B/s p preserve: preserve ownership, perms, times, attrs (def=no), f force: skip some sanity checks (def=no), i interactive: ask before overwriting data (def=no), A Always write blocks, zeroed if err (def=no), a detect zero-filled blocks and write spArsely (def=no), ![]() W read target block and avoid Writes if identical (def=no), P use fallocate to preallocate target space, k use efficient in-kernel zerocopy splice, d/D use O_DIRECT for input/output (def=no), u undo writes by deleting outfile and issuing fstrim T truncate output file at last pos (def=no), ![]() t truncate output file at start (def=no), R repeatedly write same block (def if infile is /dev/zero), o bbfile name of a file to log bad blocks numbers (def=""), l logfile name of a file to log errors and summary to (def=""), y syncsz frequency of fsync calls in bytes (def=512*softbs), x count opos from the end of outfile (eXtend), m maxxfer maximum amount of data to be transferred (def=0=inf), e maxerr exit after maxerr errors (def=0=infinite), B hardbs fallback block size in case of errs (def=4096, 512 for -d), ![]() b softbs block size for copy operation (def=131072, 1048576 for -d), S opos start position in output file (def=ipos), Options: -s ipos start position in input file (default=0), It's protected by the terms of GNU GPL v2 or v3ĭd_rescue copies data from one file (or device or pipe) to others. (features: O_DIRECT dl/libfallocate fallocate splice fitrim xattr rdrnd avx2)ĭd_rescue is free software. Start at position 100 of the input file ( -s 100 /var/log/messages) and write, beginning at position 0 of the destination file ( -S 0 /tmp/ddrescue-out): :~# dd_rescue -s 100 /var/log/messages -S 0 /tmp/ddrescue-outĭd_rescue: (info): Using softbs=65536, hardbs=4096ĭd_rescue: (info) expect to copy 1766kB from /var/log/messagesĭd_rescue: (info): ipos: 1024.1k, opos: 1024.0k, xferd: 1024.0kĮrrs: 0, errxfer: 0.0k, succxfer: 1024.0k DARK Tool Documentation: dd_rescue Usage Example
0 Comments
Leave a Reply. |