From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8c33970692447758,start X-Google-Attributes: gidfee84,public From: adrian.ogden@baedsl.co.uk Subject: gunzipping piped in dd for cloning Date: 1999/09/01 Message-ID: <7qjfbg$lr1$1@nnrp1.deja.com>#1/1 X-Deja-AN: 519742595 X-Http-Proxy: 1.0 chdnsc1.bae.co.uk:3128 (Squid/1.1.18), 1.0 nadnl8.net.bae.co.uk:3128 (Squid/2.1.PATCH2), 1.0 x44.deja.com:80 (Squid/1.1.22) for client unknown, 172.30.229.33, 141.245.40.230 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Sep 01 15:05:30 1999 GMT X-MyDeja-Info: XMYDJUIDadrian_ogden Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.61 [en] (WinNT; I) 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 | 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.