Quote Originally Posted by Werner P. Schulz View Post
.. I can't believe this result. What did you compress, Knoppix CD or DVD? How long (exact) will it take to compress with sqashfs and with cloop (create_compressed_fs)?
... now I have done a test for my own.

using virtual machine (VirtualBox), 1 GB RAM, swap partition 1 GB

using Knoppix CD-Version 6.4.4

decompress /KNOPPIX/KNOPPIX (705211 K => 100%) to directory '/remaster' (2054135 K)
Code:
losetup /dev/cloop0 /media/sr0/KNOPPIX/KNOPPIX
mount -t iso9660 /dev/cloop0 /knoppix/loop
rsync -aH /knoppix/loop/* /remaster
a) compress '/remaster' to KNOPPIX
Code:
genisoimage -R -U -no-bak -quiet \
    /remaster | create_compressed_fs -q -B 65536 \
    -f /tmp/knoppix_tmp - /knoppix/KNOPPIX/KNOPPIX
size of new KNOPPIX: 740461 K (104,96%)

compression time: 7 min 03 sec


b) compress '/remaster' to KNOPPIX.squasfs
Code:
mksquashfs-lzma /remaster 
   \/knoppix/KNOPPIX/KNOPPIX.squashfs
size of KNOPPIX.squashfs: 719876 K (102,08%)

compression time: 6 min 42 sec

I think the differences are not worth the trouble to leave a well established compression method.


Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)