From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 01:00:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2854716A4CF for ; Tue, 23 Nov 2004 01:00:57 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C390543D2F for ; Tue, 23 Nov 2004 01:00:56 +0000 (GMT) (envelope-from ryallsd@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so262288rnf for ; Mon, 22 Nov 2004 17:00:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=XaWFQBhtpbpr6XM+XpGwbQNi6/kCCRRq3fqfyzrwzockdhWpFpZ0m16shdu/8F6wr2TVE8Xb+g4YsPNztePiovDZEQM7KZtOv+OVq1Vsb5VyXUPUfH1Hczev519akYM+zZN7bPRwpK6XbGgP/PhdgK5sp80gYnRBH9oXBTES+FU= Received: by 10.38.126.80 with SMTP id y80mr291950rnc; Mon, 22 Nov 2004 17:00:55 -0800 (PST) Received: by 10.38.96.46 with HTTP; Mon, 22 Nov 2004 17:00:55 -0800 (PST) Message-ID: Date: Mon, 22 Nov 2004 17:00:55 -0800 From: Derrick Ryalls To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Odd Tar behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Derrick Ryalls List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 01:00:57 -0000 Greetings list, I just observed some really strange behavior with a tar file in my backup script. Using a command like tar -cf /someplace/www.tar www (when in /usr/local) it produces a 2 Meg file. Under webroot, there are several files that are 500+ meg in size, so this size value is suspect, though it only took a few seconds to create the archive. The weird part comes in when I untar www.tar. Suddenly all files are there in their full sized glory, leading me to believe that I am only saving file pointers or something. Also, it isn't a compression issue as I am not using compression, and the files themselves really aren't very compressable. Whatever the case, how do I use tar to create reliable backups, including large files? Thanks in advance for any pointers on this. -Derrick