From owner-freebsd-questions@FreeBSD.ORG Wed Nov 17 15:46:58 2004 Return-Path: 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 7709A16A4CE for ; Wed, 17 Nov 2004 15:46:58 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 468AB43D1D for ; Wed, 17 Nov 2004 15:46:58 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8934C51281; Wed, 17 Nov 2004 07:50:07 -0800 (PST) Date: Wed, 17 Nov 2004 07:50:07 -0800 From: Kris Kennaway To: Andrew Sinclair Message-ID: <20041117155007.GA71692@xor.obsecurity.org> References: <419A5AAB.7080409@optusnet.com.au> <20041116213536.GG17125@xor.obsecurity.org> <419B8175.6060506@optusnet.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <419B8175.6060506@optusnet.com.au> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org cc: Kris Kennaway Subject: Re: 5.3-RC2 tar breaks operation with "(null)" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 15:46:58 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 17, 2004 at 04:51:01PM +0000, Andrew Sinclair wrote: > <>I checked the changelog for that. There is a minor change to its=20 > handling of failed writes to the archive, which is quite the opposite of= =20 > what I am trying to do. My disc is unsuprisingly screwed and the=20 > drive/filesystem returns zero filled blocks where it fails to read. I=20 > managed to work around it with dd and gtar: >=20 > dd if=3D/dvdrom/20041116.tgz of=3D/home/shared/mec/20041116.tgz > gtar --ignore-zero --ignore-failed-read -xvf=20 > /home/shared/mec/20041116.tgz >=20 > So a PPT and a PNG were garbled. No big deal. Since bsdtar is now the=20 > default Tape ARchiver, shouldn't it include the options of its=20 > predecessor? I would assert --ignore-zero on plain files and allow=20 > --ignore-failed-read at least. You can (and should) discuss this with the author, but bsdtar isn't currently intended to be a 100% replacement for gtar, particularly for the more obscure options. If you need gtar, you can always use it instead. Kris --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBm3MvWry0BWjoQKURAo2gAJ4wuNgboYx1y8tBFuzI0SHDKGxrCwCgpOEN T714tQfGlp5FuoG9geg4pK8= =sI46 -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--