Bug 11526 - tar: archive with GNU volume label rejected
Summary: tar: archive with GNU volume label rejected
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.33.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-26 17:58 UTC by Michał Górny
Modified: 2018-11-27 11:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny 2018-11-26 17:58:07 UTC
When trying to extract an archive that contains GNU volume label, busybox tar fails:

$ busybox tar -xf gnu.tar 
tar: unknown typeflag: 0x56

It would be nice if 'V' members were simply ignored (or at least written to file, as POSIX specifies for unknown typeflags).

To reproduce:

echo test > input.txt
tar -cf gnu.tar -V test input.txt
Comment 1 Denys Vlasenko 2018-11-27 11:09:45 UTC
Fixed in git. Thanks.