bsdtar / libarchive bug?
Steven Hartland
killing at multiplay.co.uk
Fri Dec 9 03:24:52 PST 2005
----- Original Message -----
From: "Brian Fundakowski Feldman" <green at 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 at green}$ tar cfv x.tar
> tar: no files or directories specified
> {"/home/green" green at green}$ tar cfvz x.tar.gz
> tar: no files or directories specified
> {"/home/green" green at 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 at multiplay.co.uk.
More information about the freebsd-stable
mailing list