From owner-freebsd-stable@FreeBSD.ORG Wed Jun 6 06:44:26 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DD8716A400 for ; Wed, 6 Jun 2007 06:44:26 +0000 (UTC) (envelope-from r.gruyters@yirdis.nl) Received: from mail.yirdis.nl (82-148-208-109.fiber.unet.nl [82.148.208.109]) by mx1.freebsd.org (Postfix) with ESMTP id 199B313C45E for ; Wed, 6 Jun 2007 06:44:25 +0000 (UTC) (envelope-from r.gruyters@yirdis.nl) Received: from server.yirdis.net (localhost [127.0.0.1]) by mail.yirdis.nl (8.13.8/8.13.8) with ESMTP id l566i7Og084940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 08:44:07 +0200 (CEST) (envelope-from r.gruyters@yirdis.nl) Received: (from www@localhost) by server.yirdis.net (8.13.8/8.13.8/Submit) id l566i6m0084939; Wed, 6 Jun 2007 08:44:06 +0200 (CEST) (envelope-from r.gruyters@yirdis.nl) X-Authentication-Warning: server.yirdis.net: www set sender to r.gruyters@yirdis.nl using -f Received: from hp-xw4300-02.yirdis.nl (hp-xw4300-02.yirdis.nl [10.8.0.29]) by server.yirdis.nl (Horde MIME library) with HTTP; Wed, 06 Jun 2007 08:44:06 +0200 Message-ID: <20070606084406.8v6nkbtv9csgs880@server.yirdis.nl> Date: Wed, 06 Jun 2007 08:44:06 +0200 From: Robin Gruyters To: Tim Kientzle References: <20070601114047.z6qgi686os4ogw4o@server.yirdis.nl> <200706020852.21208.doconnor@gsoft.com.au> <20070604101603.f0ki85am800wso0k@server.yirdis.nl> <200706052131.44320.doconnor@gsoft.com.au> <46658EEB.5000008@freebsd.org> In-Reply-To: <46658EEB.5000008@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_4n8f9ifd5cis"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.1) / FreeBSD-5.4 X-Virus-Scanned: OK Cc: freebsd-stable@freebsd.org Subject: Re: Unrecognized archive format with RELENG_6_2 and RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 06:44:26 -0000 This message is in MIME format and has been PGP signed. --=_4n8f9ifd5cis Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Tim Kientzle : >> On Monday 04 June 2007 17:46, Robin Gruyters wrote: >> >>> This morning I have revert libarchive (src/lib/libarchive) and tar >>> (src/usr.bin/tar) back to RELENG_6_1 and surprisingly (or maybe not) >>> it works fine now. >>> >>> Maybe tar doesn't use the -b option when listing the content? (-t) > > Could you please send me details of the problem > you're having? > Ok, here a small setup. I create a random file with roughly size of 5MB: $ dd if=3D/dev/random of=3Darchive.dmp bs=3D1024 count=3D5120 5120+0 records in 5120+0 records out 5242880 bytes transferred in 0.174116 secs (30111397 bytes/sec) Then a tar the file (with or without blocksize set) to tape: $ sudo tar -cf /dev/sa0 archive.dmp $ After that I try to read/list the tar from tape with tar -t: $ sudo mt -f /dev/sa0 rewind $ sudo tar -tf /dev/sa0 archive.dmp tar: Unrecognized archive format: Inappropriate file type or format $ I get strait away the "Unrecognized archive" message. But when I extract the archive from tape, it works perfectly: $ sudo tar -xvf /dev/sa0 x archive.dmp $ I have tested this with libarchive and tar from RELENG_6 and RELENG_6_2. No problems with libarchive and tar from RELENG_6_1. If you need more (debug) info, let me know Kind regards, Robin Gruyters Network and Security Engineer Yirdis B.V. I: http://yirdis.com P: +31 (0)36 5300394 F: +31 (0)36 5489119 --=_4n8f9ifd5cis Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGZle2Lh3hlgHmc7MRAo39AJ4kIy3snB9HJkTMqkz5Lbt37k+bNgCfW2UL NUctbmzdx8M5x0g+hW73qtE= =VMJf -----END PGP SIGNATURE----- --=_4n8f9ifd5cis--