summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_set_options.3
diff options
context:
space:
mode:
authorKevin Locke <kevin@kevinlocke.name>2014-01-11 16:38:52 -0700
committerKevin Locke <kevin@kevinlocke.name>2014-01-12 13:44:57 -0700
commitb66ce8c56072aae09601ed04f75888d94c0722e2 (patch)
treec49bd064cb0d88dcf61a4204499fe8afe0b4ef56 /libarchive/archive_read_set_options.3
parenta6c076b1c844f41d471c06da1db770efe5518e20 (diff)
downloadlibarchive-b66ce8c56072aae09601ed04f75888d94c0722e2.tar.gz
[PATCH v3] Add read_concatenated_archives
As discussed in http://code.google.com/p/libarchive/issues/detail?id=348 the read_concatenated_archives option provides functionality similar to the GNUtar --ignore-zeros option in order to support reading from archives which have been concatenated together. Changes in v2: * Replace recursion with looping for reading concatenated archives. Changes in v3: * Improve comments about archive format detection and looping when reading concatenated archives. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Diffstat (limited to 'libarchive/archive_read_set_options.3')
-rw-r--r--libarchive/archive_read_set_options.34
1 files changed, 4 insertions, 0 deletions
diff --git a/libarchive/archive_read_set_options.3 b/libarchive/archive_read_set_options.3
index d400272d..1a251cef 100644
--- a/libarchive/archive_read_set_options.3
+++ b/libarchive/archive_read_set_options.3
@@ -210,6 +210,10 @@ Defaults to enabled on Mac OS, disabled on other platforms.
Use
.Cm !mac-ext
to disable.
+.It Cm read_concatenated_archives
+Ignore zeroed blocks in the archive, which occurs when multiple tar archives
+have been concatenated together. Without this option, only the contents of
+the first concatenated archive would be read.
.El
.El
.\"