From owner-freebsd-stable@FreeBSD.ORG Tue May 29 03:19:23 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C0A316A421 for ; Tue, 29 May 2007 03:19:23 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 587C113C455 for ; Tue, 29 May 2007 03:19:23 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr5so.prod.shaw.ca (pd3mr5so-qfe3.prod.shaw.ca [10.0.141.12]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JIS00DY9986ZX70@l-daemon> for freebsd-stable@freebsd.org; Mon, 28 May 2007 21:19:18 -0600 (MDT) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd3mr5so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JIS000F3985O190@pd3mr5so.prod.shaw.ca> for freebsd-stable@freebsd.org; Mon, 28 May 2007 21:19:18 -0600 (MDT) Received: from hexahedron.daemonology.net ([24.82.18.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JIS0006Z9842320@l-daemon> for freebsd-stable@freebsd.org; Mon, 28 May 2007 21:19:17 -0600 (MDT) Received: (qmail 16875 invoked from network); Tue, 29 May 2007 03:18:59 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Tue, 29 May 2007 03:18:59 +0000 Date: Mon, 28 May 2007 20:18:59 -0700 From: Colin Percival In-reply-to: <003701c7a187$bc8f8e10$b6db87d4@multiplay.co.uk> To: Steven Hartland Message-id: <465B9BA3.30905@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.0 References: <005d01c7a169$b48c7390$b6db87d4@multiplay.co.uk> <465B4C2B.6060104@freebsd.org> <003701c7a187$bc8f8e10$b6db87d4@multiplay.co.uk> User-Agent: Thunderbird 2.0.0.0 (X11/20070511) Cc: freebsd-stable@freebsd.org Subject: Re: bug in BSD tar? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 03:19:23 -0000 Steven Hartland wrote: > ----- Original Message ----- From: "Colin Percival" >>> tar -xvzf test.tar.gz >>> tar: Ignoring unknown extended header keyword `SCHILY.dev' >>> tar: Ignoring unknown extended header keyword `SCHILY.ino' >>> tar: Ignoring unknown extended header keyword `SCHILY.nlink' >>> cantiquedeno\353l1_loop.wav >>> tar: Error exit delayed from previous errors >> >> This looks like fairly typical symptoms of gnutar being broken. What >> makes you think that the archive created by BSD tar was invalid? > > As a filename should have no bearing on what extended headers > are set. Why not? In this case, bsdtar is detecting that the file name contains non-7-bit-ascii characters and is emitting a pax header for that reason; and since it can't suppress the pax header entirely, it goes ahead and emits the "not vital but potentially useful" headers for the device #, inode #, number of links, and high precision timestamps. I still see no evidence that bsdtar is doing anything wrong. Colin Percival