From owner-freebsd-questions@FreeBSD.ORG Sat Oct 3 00:27:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66F8B1065679 for ; Sat, 3 Oct 2009 00:27:16 +0000 (UTC) (envelope-from milo@cyberlifelabs.com) Received: from smtp.cyberlifelabs.com (197-39.84.64.smtp.cyberlifelabs.com [64.84.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id 3C84D8FC08 for ; Sat, 3 Oct 2009 00:27:16 +0000 (UTC) Received: from dev.bellingham.cyberlifelabs.com ([71.227.219.222]) (AUTH: LOGIN milo@cyberlifelabs.com) by mail.geo.cyberlifelabs.com with esmtp; Fri, 02 Oct 2009 17:18:03 -0700 Message-Id: <9BF45D7B-D9ED-4B09-8C6E-0ED849260601@cyberlifelabs.com> From: Milo Hyson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 2 Oct 2009 17:17:13 -0700 X-Mailer: Apple Mail (2.936) Subject: tar acting strange with -T X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 00:27:16 -0000 tar seems to be misbehaving when used with the -T switch. If I run the following: find somebigdir > /tmp/file-list tar -cjf /tmp/tarball.tar.bz2 -T /tmp/file-list I get no errors. However, when I go to unpack it: tar -xyf /tmp/tarball.tar.bz2 I get several errors about files not found in the archive. It's always the same files. I've checked to ensure there's nothing special about them. If I try to create the same tarball without using a file-list: tar -cjf /tmp/tarball.tar.bz2 somebigdir I get no errors during unpacking. Running find on this unpacked set confirms the file-list matches exactly that which I'm trying to use with the -T switch. Unless I'm overlooking something obvious, I can only conclude that tar's handling of -T is funky. Any suggestions? I'm using a fresh installation of 7.2-RELEASE on amd64 installed from an ISO. -- Milo Hyson Chief Scientist CyberLife Labs, Inc.