bin/86690: bsdtar sparse file problems

Juergen Lock nox at jelal.kn-bremen.de
Mon Oct 3 08:55:32 PDT 2005


On Sun, Oct 02, 2005 at 08:20:56PM -0700, Tim Kientzle wrote:
> Juergen Lock wrote:
> >
> >Hmm i just tried it on a 60beta4 vm i still had lying around:
> >
> >FreeBSD qemutest.kn-bremen.de 6.0-BETA4 FreeBSD 6.0-BETA4 #0: Sun Sep  4 
> >09:18:09 UTC 2005     root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  
> >i386
> >
> > and there it still extracts it to a 1 byte file.  Has this been
> >fixed between beta4 and 5?
> 
> Juergen,
> 
> Try the attached patch against libarchive in 6.0 and let me know if this 
> fixes it for you.  Looks like the offset for the very first sparse block
> was being ignored.

Yeah that seems to fix it.  Thanx!  Will you MFC this and the other fix
to RELENG_5 before 5.5?

	Juergen


More information about the freebsd-bugs mailing list