On Sun, 08 Aug 2004 12:40, Matthew Gregan wrote:
> In this case I can't copy the file, as it contains a disk I/O error 2GB into
> a 4GB file.
The dd utility has a 'noerrors' option for precisely this situation.
You will be given the corrupt block as it is received, warts and all.
man dd
for the whole gory story.
SYNOPSIS
dd [--help] [--version] [if=file] [of=file] [ibs=bytes] [obs=bytes] [bs=bytes]
[cbs=bytes] [skip=blocks] [seek=blocks] [count=blocks] [conv={ascii, ebcdic,
ibm, block, unblock, lcase, ucase, swab, noerror, notrunc, sync}]
--
Sincerely etc.,
Christopher Sawtell