table of contents
- bullseye 2.6.13-2+b3
- bullseye-backports 2.7.2-1~bpo11+1
- testing 2.7.8-1+b8
- unstable 2.7.8-1+b8
DAR_CP(1) | General Commands Manual | DAR_CP(1) |
NAME¶
dar_cp - 'cp' clone command that is able to copy data located after an I/O error
SYNOPSIS¶
dar_cp <source file> <destination file>
dar_cp -h
dar_cp -V
DESCRIPTION¶
dar_cp is similar to the standard 'cp' command, except it does not stop copying when an I/O error is met. Instead, it skips a bit further and continues to copy the rest of the file, as much as possible, filling the gaps by zeroed bytes.
dar_cp only accepts full filename (not directory) as argument. The reason of its existence in dar package is that you need it if you use Parchive with dar and have a corruption on a CD-R or any other read-only medium. You need to copy the corrupted slice on a read-write filesystem, for Parchive be able to repair it using slice associated redundancy files.
OPTIONS¶
EXIT CODES¶
dar_cp exists with the following codes:
- 0
- upon normal execution (be some corrupted parted skipped or not)
- 1
- syntax error on command-line
- 2
- could not open source or destination files
- 3
- any other system error met during the copy
- 5
- when some data could not be copied due to I/O error
SIGNALS¶
Any signal sent to dar_cp will abort the program immediately, there is no way to have a proper termination before the end of the process
SEE ALSO¶
dar(1), dar_xform(1), dar_manager(1), dar_slave(1), dar_split(1)
KNOWN BUGS¶
AUTHOR¶
http://dar.linux.free.fr/ Denis Corbin France Europe
August 18th, 2018 | 3rd Berkeley Distribution |