diff options
author | Joerg Sonnenberger <joerg.sonnenberger@gmail.com> | 2008-05-13 01:41:46 -0400 |
---|---|---|
committer | Joerg Sonnenberger <joerg.sonnenberger@gmail.com> | 2008-05-13 01:41:46 -0400 |
commit | 51300afefa29289b7fe88f0abf4f966ddf27df74 (patch) | |
tree | a7d53d92bfcd52db27b4b9aebbea0508a886f95f /libarchive/archive_write_disk.3 | |
parent | adb4f3a60f7534ab283c7e15d2ddff7733549afa (diff) | |
download | libarchive-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.3 | 4 |
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 |