From owner-freebsd-questions Thu Jan 9 9:56:26 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CDA737B401; Thu, 9 Jan 2003 09:56:25 -0800 (PST) Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4652743EB2; Thu, 9 Jan 2003 09:56:24 -0800 (PST) (envelope-from phillip@3bags.com) Received: from 3bagsmedia ([207.35.180.174]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030109170717.QHQX10990.tomts16-srv.bellnexxia.net@3bagsmedia>; Thu, 9 Jan 2003 12:07:17 -0500 From: "Phillip Smith" To: "'Phillip Smith'" , "'Greg 'groggy' Lehey'" Cc: Subject: RE: help! Problems with TAR archives? Date: Thu, 9 Jan 2003 12:08:29 -0500 Message-ID: <000f01c2b801$bb637250$aeb423cf@3bagsmedia> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <002401c2b7f2$f7ba5e30$aeb423cf@3bagsmedia> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of > Phillip Smith > Sent: January 9, 2003 10:23 AM > To: 'Greg 'groggy' Lehey' > Cc: freebsd-questions@FreeBSD.ORG > Subject: RE: help! Problems with TAR archives? [snip] > > What does tar t tell you on the FreeBSD side? > > tar: Hmm, this doesn't look like a tar archive. > tar: Skipping to next file header... > tar: only read 521 bytes from archive etc.rein.tar > > Also, I tried re-creating the problem. Exact same scenario. > Created a new TAR archive, ftp'd from FreeBSD to Window (not > specifying a setting), then used 'get' to bring them back to > FreeBSD and the archives are fine. So, I'm thinking that the > original archives are corrupt... > I've tried a few other scenarios and this is what I've discovered... - I'm using tar -zcpvf filename.tar.gz targetdir to create the archive - using any variation of tar -zxpvf gets the messages I've outlined above - same if I gunzip the archive first, then try tar -xpvf So I tried on some new tar files, only transfering from BSD to BSD and found that, for some reason, I'm getting the same error (e.g. tar with zcpvf and ftp/binary from BSD to BSD). Now I'm confused. So, I repeat the same process without the gzip (tar cpvf and ftp/binary from BSD to BSD), and presto the archives are fine. I would assume from this, that I'm doing something wrong with the gzip? Or that gzip is doing something funny. Any thoughts? p. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message