summaryrefslogtreecommitdiff
path: root/libarchive/archive_write_disk.3
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg.sonnenberger@gmail.com>2008-05-13 01:41:46 -0400
committerJoerg Sonnenberger <joerg.sonnenberger@gmail.com>2008-05-13 01:41:46 -0400
commit51300afefa29289b7fe88f0abf4f966ddf27df74 (patch)
treea7d53d92bfcd52db27b4b9aebbea0508a886f95f /libarchive/archive_write_disk.3
parentadb4f3a60f7534ab283c7e15d2ddff7733549afa (diff)
downloadlibarchive-51300afefa29289b7fe88f0abf4f966ddf27df74.tar.gz
Add support to sparsify files on write. This scans output blocks
for NUL bytes and seeks if a block is full of NULs. This is optional, but the penalty is very small. SVN-Revision: 51
Diffstat (limited to 'libarchive/archive_write_disk.3')
-rw-r--r--libarchive/archive_write_disk.34
1 files changed, 4 insertions, 0 deletions
diff --git a/libarchive/archive_write_disk.3 b/libarchive/archive_write_disk.3
index 5d836e10..f71d7d54 100644
--- a/libarchive/archive_write_disk.3
+++ b/libarchive/archive_write_disk.3
@@ -170,6 +170,10 @@ Note that paths ending in
.Pa ..
always cause an error, regardless of this flag.
.El
+.It Cm ARCHIVE_EXTRACT_SPARSE
+Scan data for blocks of NUL bytes and try to recreate them with holes.
+This results in sparse files, independent of whether the archive format
+supports or uses them.
.It Xo
.Fn archive_write_disk_set_group_lookup ,
.Fn archive_write_disk_set_user_lookup