From owner-freebsd-bugs Mon Apr 3 1:21: 0 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by hub.freebsd.org (Postfix) with ESMTP id 5C02C37BD4A for ; Mon, 3 Apr 2000 01:20:57 -0700 (PDT) (envelope-from marcolz@stack.nl) Received: from toad.stack.nl (toad.stack.nl [131.155.140.135]) by mailhost.stack.nl (Postfix) with ESMTP id 361BE5D00F; Mon, 3 Apr 2000 10:20:56 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 333) id 3B5619719; Mon, 3 Apr 2000 10:20:54 +0200 (CEST) Date: Mon, 3 Apr 2000 10:20:54 +0200 From: Marc Olzheim To: Anatoly Vorobey Cc: Bruce Evans , Marc Olzheim , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/17619: pax cannot read all tar files created by tar. Message-ID: <20000403102054.A8152@stack.nl> References: <200004020840.AAA76390@freefall.freebsd.org> <20000402131424.A61897@happy.checkpoint.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000402131424.A61897@happy.checkpoint.com>; from mellon@pobox.com on Sun, Apr 02, 2000 at 01:14:24PM +0000 X-Operating-System: FreeBSD toad.stack.nl 3.4-RELEASE FreeBSD 3.4-RELEASE X-URL: http://www.stack.nl/~marcolz/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Bah. So what should be done in this case (assuming something needs > to be done?). I can patch pax to accept one-block archives and > yet produce correct archives - maybe that's the way to go? Given that > the GNU tar maintainer had more than 8 years to think about it, he's > obviously emotionally attached to one-trailing-block files and won't > let them go ;) That seems like a good idea to me. > > I admit I didn't even know pax(1) existed until I saw the PR and > was sufficiently intrigued to look at it ;) Well, I usually use the -rw option which does not need a pipe to copy directory-trees. Furthermore it uses a more sensible exit-code system than GNU-tar. > > By the way, Marc, Solaris's tar (SunOS 5.6) does handle correctly your > example (creates a tarfile with two trailing blocks), so if you have > anything specific from Solaris's tar that breaks pax, do tell. Hmm, I must 've tried the wrong file, since I cannot reproduce it. So it seems to work fine... Sorry for the fuss. Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message