Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2005 11:23:54 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Brian Fundakowski Feldman" <green@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bsdtar / libarchive bug?
Message-ID:  <002101c5fcb3$0c563910$b3db87d4@multiplay.co.uk>
References:  <00c701c5fc1c$e6db4220$b3db87d4@multiplay.co.uk> <20051208225404.GF98704@green.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Brian Fundakowski Feldman" <green@freebsd.org>
> I don't think it will "happily create empty tar.gz files", even where
> by empty you mean the tar itself inside of the gz.
> 
> {"/home/green" green@green}$ tar cfv x.tar
> tar: no files or directories specified
> {"/home/green" green@green}$ tar cfvz x.tar.gz
> tar: no files or directories specified
> {"/home/green" green@green}$ ls -l x.ta*
> ls: x.ta*: No such file or directory

Try this instead which is how I managed it ( not on purpose )
touch test.files
tar --files-from test.files -czf blank.tar.gz

Then to trigger the bug:
tar -xvzf blank.tar.gz

    Steve


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c5fcb3$0c563910$b3db87d4>