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 file 
>> 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
> 
> 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 
-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
-- 
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)

Attachment: pgpv7sajzYW9X.pgp
Description: PGP signature

Reply via email to