Alexandre Oliva wrote:
>
> On Nov 16, 2000, John Goerzen <[EMAIL PROTECTED]> wrote:
>
> > The compressed representation of each block is delimited by a
> > 48-bit pattern, which makes it possible to find the block
> > boundaries with reasonable certainty. Each block also carries
> > its own 32-bit CRC, so damaged blocks can be distinguished from
> > undamaged ones.
>
> Ok, so you lose a block, bzip2 skips it and proceeds to decompress the
> succeeding block. I can believe GNU tar would be able to recover from
> the loss of the intermediate block, if you're lucky enough, but I'm
> not sure DUMP would. So beware.
How to test? Dump to a file, bzip2 it, use a hexeditor to change some
bytes and try to bunzip2 -c < file | recover it?