From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 30 05:20:29 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E120416A4D3 for ; Tue, 30 Nov 2004 05:20:29 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE5CC43D49 for ; Tue, 30 Nov 2004 05:20:28 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id iAU5KR90092099; Mon, 29 Nov 2004 21:20:28 -0800 (PST) (envelope-from kientzle@freebsd.org) Message-ID: <41AC0316.1090201@freebsd.org> Date: Mon, 29 Nov 2004 21:20:22 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Sinclair References: <41AAF26E.8090101@optusnet.com.au> In-Reply-To: <41AAF26E.8090101@optusnet.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Kris Kennaway Subject: Re: bsdtar needs --ignore-zero & --ignore-failed-read X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 05:20:30 -0000 Andrew Sinclair wrote: > > I found this out when attempting to extract an archive from a CD-RW. > It had a few bad blocks ... I was able to work > around it with gtar and the --ignore-zero and --ignore-failed-read > options but I could not find an equivalent solution for bsdtar. > > My suggestion is to include these options in libarchive and to assert > --ignore-zero in bsdtar by default on plain files ... Thanks for the suggestion; I'll see about adding these. I am reluctant to assert these by default, however. Not because I expect anyone to deliberately append anything, but because I expect there to be tar archivers that append garbage to fill out the final block. Tim