Compressing packages with bzip2 instead gzip?

Phillip Susi psusi at cfl.rr.com
Sat Dec 10 19:55:08 GMT 2005


You can't loop mount a 7z archive.  The extraction needs to be handled 
carefully in userspace, not kernelspace.  Even if you were to modify 
cloop to use the LZMA algorithm, it would not do much good.  7zip gets 
most of its strength from using large dictionaries ( 32 MB ) on even 
larger data sets.  cloop and cramfs use small data sets ( 4-64 KB ) so 
that decompression can be done quickly, with little ram, and support 
random access instead of just linear access.

Florian Zeitz wrote:
> 
> Implementation shouldn't be to hard. Basically there would be an extra
> step of loop mounting the 7z package, and after that installing the
> .debs from the mountpoing instead of the standard location.
> Of course there would have to be a download mechanism for the 7z
> packages. It might be easiest to just put the 7z archive containing the
> .debs in a .deb itself. The hardest part might actually be knowing which
> archive contains which packages. I have no clue how this could be archived.
> 



More information about the ubuntu-devel mailing list