Date: Fri, 11 Jan 2008 01:16:40 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD tar errors on valid empty tar.gz Message-ID: <20080111001640.GA59072@slackbox.xs4all.nl> In-Reply-To: <00a801c853e4$5589eb10$b6db87d4@multiplay.co.uk> References: <004901c853dc$54acf230$b6db87d4@multiplay.co.uk> <1EBB2F6E-DE1F-4EDE-885F-F8CEB60E6F6A@mac.com> <00a801c853e4$5589eb10$b6db87d4@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 10, 2008 at 11:55:52PM -0000, Steven Hartland wrote: > A totally empty file is not valid try the following test:- >> touch empty >> tar cvzf test.tar.gz --files-from empty >> tar tvzf test.tar.gz tar: Unrecognized archive format: Inappropriate fil= e=20 >> type or format >> tar --version >> bsdtar 1.2.53 - libarchive 1.2.53 >> gtar tvzf test.tar.gz >> gtar --version >> tar (GNU tar) 1.15.1 >=20 > Tested on: FreeBSD 6.2-RELEASE-p9 No problem on 7.0-BETA3 (amd64); touch empty tar cvzf test.tar.gz --files-from empty tar tvzf test.tar.gz tar --version bsdtar 2.2.5 - libarchive 2.2.4 ls -l empty test.tar.gz=20 -rw-r--r-- 1 rsmith rsmith 0 Jan 11 01:14 empty -rw-r--r-- 1 rsmith rsmith 45 Jan 11 01:14 test.tar.gz 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) --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHhrVoEnfvsMMhpyURAsJDAJ9FU4jKy4TSrIgjo/CEP91/ul2vWwCdHOlJ BG1XNtpXKEGmNc/rJ+5p2dc= =Fgdx -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080111001640.GA59072>