From: Stefan Schwarzer <sts@boa.ica1.uni-stuttgart.de>
Subject: Re: gunzipping piped in dd for cloning
Date: 1999/09/02 [thread overview]
Message-ID: <7qmnbr$9ab$1@infosun2.rus.uni-stuttgart.de> (raw)
In-Reply-To: 7qjfbg$lr1$1@nnrp1.deja.com
we had a similar symptom when using gzip/gunzip in a pipe on files >
2Gb. I recall that we stared at the sources for some time and then
changed just one place where there should have been a 64bit long int
instead of one of the type defines from the original. The variable
must be something like a run length counter which overflows.
I am sure that we deleted the sources afterwards because we did not
have any deeper understanding of the code and did not want to inflict
damage on anyone but ourselves.
If you are interested, you can drop me an e-mail and I can send you
the executables to try (at your own risk).
Stefan.
adrian.ogden@baedsl.co.uk wrote:
> I'm using gzip to compress a dd'd 2GB disk image
> into a file which is then gunzipped back onto
> another disk. The cksums don't match up and the
> gzunzip seems to generate more blocks than were
> originaly present.
> However when the file is gunziped and piped
> directly into cksum the correct sum is returned
> and size. It only seems to go wrong when
> gunzipping directly back onto disk (via dd)
> e.g
> gunzip -c <filename> | dd of=/dev/rrz8c bs=3960
> conv=sync,noerror
> any ideas
> thanks
> Adie
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
--
Stefan Schwarzer office: +49-(0)711-685-7606 fax: x-3658
Uni Stuttgart, ICA 1 e-mail: sts@ica1.uni-stuttgart.de
Pfaffenwaldring 27 pgp public key available on request/finger
70569 Stuttgart, Germany http://www.ica1.uni-stuttgart.de/~sts
prev parent reply other threads:[~1999-09-02 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-01 4:00 gunzipping piped in dd for cloning adrian.ogden
1999-09-02 4:00 ` Stefan Schwarzer [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox