bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Tar - "error" at extracting from multi volume archive


From: Mads Martin Joergensen
Subject: [Bug-tar] Tar - "error" at extracting from multi volume archive
Date: Fri, 2 Apr 2004 16:42:54 +0200
User-agent: Mutt/1.4i

Hey tar developers,

I have problem with tar when I extract files from multi volume archive.
I created multivolume archive (with three volumes) containing some
files:

$ tar -c -f A.tar -f B.tar -f C.tar -M -L 30 \
  /usr/share/doc/packages/bash/COPYING \
  /usr/share/doc/packages/bash/COMPAT \
  /usr/share/doc/packages/bash/INTRO \
  /usr/share/doc/packages/bash/NEWS

I can test or extract all files from archive without any problem:

$ tar -v -t -f A.tar -f B.tar -f C.tar -M
$ tar -v -x -f A.tar -f B.tar -f C.tar -M

both commands are OK, but when I want extract only selected file:

$ tar -v -x -f A.tar -f B.tar -f C.tar -M usr/share/doc/packages/bash/COMPAT

I get error the message:
tar: Skipping to next header
tar: Skipping to next header
tar: Error exit delayed from previous errors

and exit value is 2. But file COMPAT is extracted from archive and it is
identical to the original file.

This have been confirmed with 1.3.18, 1.3.25 and 1.3.93.

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]