#include <hallo.h>
* Igor Belyi [Sun, Feb 20 2005, 04:05:13PM]:
> Package: cloop-utils
> Version: 2.01.5-3
> Severity: important
> 
> create_compressed_fs add extra block to the compressed image if the size of
> the original image is a multiple of the block size. You can verify this by
> the following simple test:
> % head -c 65536 /dev/zero > uncompressed.iso
> % create_compressed_fs uncompressed.iso 65536 > compressed.iso
> % extract_compressed_fs compressed.iso > uncompressed2.iso
> % ls -l uncompressed.iso uncompressed2.iso
> ... 131072 Feb 20 16:02 uncompressed2.iso
> ...  65536 Feb 20 16:02 uncompressed.iso
> 
> I've attached the patch fixing the problem.

Eh, did you test that with the _driver_? I am rewritting advfs right now
and stumbled over the same problem. I still don't get the reason for
adding this block but the driver insists on having a last (even empty)
block.

Regards,
Eduard.

-- 
For any stupid thing chosen at random, you'll find at least 5 people on
the Internet who thinks it's a good idea. -- Steve Langasek in debian-devel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to