Subject: Re: tar becomes (too ?) picky.
To: Conrad T. Pino <Conrad@Pino.com>
From: Martin Weber <Ephaeton@gmx.net>
Date: 02/03/2004 10:17:53
On Tue, Feb 03, 2004 at 12:57:37AM -0800, Conrad T. Pino wrote:
> I want to be in the NetBSD camp and I'm porting a CVS backup script
> from Solaris 8 i386 to NetBSD 1.6ZG (GENERIC.MP) and "tar" is giving
> me grief:
> tar: Unable to append, archive header flaw
> tar: Cannot append to an archive that may have flaws.
I think that was caused by the broken '-r' which was fixed lately.
> This issue was posted back in May 2003 and I didn't see a response:
> Points where Martin and I have concerns and the extra I can add:
> 1. Solaris "tar" will append to empty file i.e. "touch" works.
> I'm working around this with:
It seems this does still not work.
> 2. After several files the "tar rf ..." command fails.
This should be fixed now.
> 3. A "tar tf" operation shows "header flaw" occurs BEFORE the
> end of archive:
This should be fixed now, too.
> Am I doing *something* wrong or is this a bug in NetBSD tar implementation?
I think it's a matter of philosophy, whether tar -rf to an empty file
(archive) should work or not. I feel it should, but well. The other
problems with appending hopefully are gone now.
: http://mail-index.NetBSD.org/current-users/2004/01/30/0022.html, in
reply to ..../current-users/2004/01/30/0012.html.