On Sat, Mar 24, 2007 at 06:35:41PM +0000, Thorsten Glaser wrote:
> Clemens Helfmeier dixit:
> 
> >On Fri, Mar 23, 2007 at 06:37:18PM +0000, Thorsten Glaser wrote:
> >> What compresses better, gzip, LZO1X-1 (fwcf helper) or LZMA (squashfs)?
> >> 
> >> //mirabile
> >
> >lzma is best but not really far from gzip, and using both, gz and
> >lzma/fwcf does only cost a few bytes:
> >
> >-rw-r--r-- 1 sumsum sumsum  6867 2007-03-24 12:49 freewrt.config.gz
> >-rw-r--r-- 1 sumsum sumsum  6969 2007-03-24 12:52 freewrt.config.gz.lzma
> >-rw-r--r-- 1 sumsum sumsum  6202 2007-03-24 12:50 freewrt.config.lzma
>                             ^^^^^
> Okay, then the config will be stored on the filesystem UNCOMPRESSED.

Maybe it will be better to store it gzip-compressed, so jffs (uncompressed) and
squashfs (compressed) will both have the same filename (better for scripting). 
The
resulting image will only be a very little bigger when using squashfs.
Scripting is easier when filename is always the same.

Clemens
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to