1
0
Fork 0

Merging upstream version 1.17~rc2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-21 11:24:05 +01:00
parent 93ad4e56ce
commit 36c7129c83
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
12 changed files with 126 additions and 100 deletions

View file

@ -12,7 +12,7 @@ File: lziprecover.info, Node: Top, Next: Introduction, Up: (dir)
Lziprecover Manual
******************
This manual is for Lziprecover (version 1.17-rc1, 21 January 2015).
This manual is for Lziprecover (version 1.17-rc2, 8 April 2015).
* Menu:
@ -283,10 +283,11 @@ data stream, even if it is just one altered bit, the original data can't
be recovered.
If you used bzip2, and if the file is large enough to contain more
than one compressed data block (usually larger than 900 kB), and if no
block is damaged in both files, then the data can be manually recovered
by splitting the files with bzip2recover, verifying every block and then
copying the right blocks in the right order in another file.
than one compressed data block (usually larger than 900 kB
uncompressed), and if no block is damaged in both files, then the data
can be manually recovered by splitting the files with bzip2recover,
verifying every block and then copying the right blocks in the right
order in another file.
But if you used lzip, the data can be automatically recovered as
long as no byte is damaged in both files.
@ -429,21 +430,19 @@ additional information before, between, or after them.
now.
'DS (coded dictionary size, 1 byte)'
Lzip divides the distance between any two powers of 2 into 8
equally spaced intervals, named "wedges". The dictionary size is
calculated by taking a power of 2 (the base size) and substracting
from it a number of wedges between 0 and 7. The size of a wedge is
(base_size / 16).
The dictionary size is calculated by taking a power of 2 (the base
size) and substracting from it a fraction between 0/16 and 7/16 of
the base size.
Bits 4-0 contain the base 2 logarithm of the base size (12 to 29).
Bits 7-5 contain the number of wedges (0 to 7) to substract from
the base size to obtain the dictionary size.
Bits 7-5 contain the numerator of the fraction (0 to 7) to
substract from the base size to obtain the dictionary size.
Example: 0xD3 = 2^19 - 6 * 2^15 = 512 KiB - 6 * 32 KiB = 320 KiB
Valid values for dictionary size range from 4 KiB to 512 MiB.
'Lzma stream'
The lzma stream, finished by an end of stream marker. Uses default
values for encoder properties. See the lzip manual for a full
description.
values for encoder properties. *Note Stream format: (lzip)Stream
format, for a complete description.
'CRC32 (4 bytes)'
CRC of the uncompressed original data.
@ -493,6 +492,8 @@ are abridged diagnostic messages from lziprecover).
lziprecover -v -R file.lz
Copy of input file repaired successfully.
lziprecover -tv file_fixed.lz
ok
mv file_fixed.lz file.lz
@ -518,6 +519,9 @@ error-checked merging of copies (*Note GNU ddrescue manual:
cp /mnt/cdimage/backup.tar.lz rescued2.tar.lz
umount /mnt/cdimage
lziprecover -m -v -o backup.tar.lz rescued1.tar.lz rescued2.tar.lz
Input files merged successfully.
lziprecover -tv backup.tar.lz
ok
Example 8: Recover the first volume of those created with the command
@ -527,7 +531,9 @@ damaged in the second copy, and member 12 damaged in both copies. The
correct file produced is saved in 'big_db_00001.lz'.
lziprecover -m -v -o big_db_00001.lz big_db1_00001.lz big_db2_00001.lz
Input files merged successfully
Input files merged successfully.
lziprecover -tv big_db_00001.lz
ok

File: lziprecover.info, Node: Unzcrash, Next: Problems, Prev: Examples, Up: Top
@ -646,18 +652,18 @@ Concept index

Tag Table:
Node: Top231
Node: Introduction1216
Node: Invoking lziprecover4312
Node: Data safety9745
Node: Repairing files11661
Node: Merging files13563
Node: File names15404
Node: File format15868
Node: Examples18375
Ref: ddrescue-example19576
Node: Unzcrash20685
Node: Problems23239
Node: Concept index23791
Node: Introduction1213
Node: Invoking lziprecover4309
Node: Data safety9742
Node: Repairing files11671
Node: Merging files13573
Node: File names15414
Node: File format15878
Node: Examples18282
Ref: ddrescue-example19528
Node: Unzcrash20770
Node: Problems23324
Node: Concept index23876

End Tag Table