From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 17:09:49 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 E0D2A106566C for ; Tue, 11 Aug 2009 17:09:49 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 754448FC16 for ; Tue, 11 Aug 2009 17:09:49 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7BH9lpF063376; Tue, 11 Aug 2009 19:09:47 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 483B6BAA6; Tue, 11 Aug 2009 19:09:47 +0200 (CEST) Date: Tue, 11 Aug 2009 19:09:47 +0200 From: Roland Smith To: Jay Hall Message-ID: <20090811170947.GA88617@slackbox.xs4all.nl> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810162528.GA49364@slackbox.xs4all.nl> <20090810170921.GC49364@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Backup Size 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: Tue, 11 Aug 2009 17:09:50 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 10, 2009 at 09:24:19PM -0500, Jay Hall wrote: >=20 > On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: >=20 > >> The fact that you are using tar also plays a part. Tar has some =20 > >> overhead to > >> store information about the files it contains. >=20 > Is it possible to calculate the amount of overhead tar will use? Just execute the tar command, and dump the output to /dev/null through dd: tar -cf - /etc |dd of=3D/dev/null tar: Removing leading '/' from member names 3160+0 records in 3160+0 records out 1617920 bytes transferred in 0.057690 secs (28045115 bytes/sec) This will give you the exact size without writing anything to disk. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqBpdsACgkQEnfvsMMhpyXt6wCeNAXOJ0BDs/vVk4DAi1wybZVX qLUAnRS3LC5zAUCc0G7a1Pq5wdgdOsa1 =Xdht -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--