NAME
ecp – fast copy, handling errors |
SYNOPSIS
ecp [ –bcprvZ ] [ –B block–size ] [ –e max–errors ] [ –i issect ] [
–o ossect ] [ –s sector–size ] sectors input output |
DESCRIPTION
Ecp copies sectors disk sectors of the specified input file to
the specified output file. Ecp copies multiple sectors (a `block')
at a time for speed. When ecp encounters an I/O error, it transfers
the current block again, assuming the file is seekable, one sector
at a time, prints the sector number(s) of the error(s), and
continues copying.
Options are: |
SEE ALSO
fcp in cp(1), dd(1), dup(3) |
BUGS
–
i, –o, –r, –v and error retries only work on devices capable of seeking.
The set of options reflects decades of experience dealing with troublesome hardware.
If the input file is a tape and the last record on the tape before
a file mark is less than blocksize bytes long, then ecp will read
through past the file mark and into the next file. |