Hi Joep,

Joep Blom wrote:
> Do you have any idea about the difference in size:
> modules.lrp              118954      (from mounted .bin file)
> My modules.lrp       123018
> Using tar -c *| gzip -9 > ../package.lrp  : size 123007
Ok, so you're comparing gnu gzip with busybox gzip, right? (lrp from the
package archive, compared to the one you created on your devel box?).
Part of that may well be that the gnu gzip works a little differently
than the busybox one. The real test would be to see how big your
modules.lrp is after you backed it up on your leaf box.
As far as I know, there's no posix or ansi standard on what exactly gzip
should do when "-9" is given as an argument, so there's a pretty good
chance that gnu gzip and busybox gzip use (possibly slightly) different
algorithms for compression - which would obviously result in different
results. Sorry, I have no hard facts to back that up, other than
anecdotal evidence that busybox gzip tends to be more agressive at
compressing things (trading space for speed is what uclibc is all about,
so it wouldn't be too surprising if the uclibc developers made different
choices than the gnu gzip developers did)

Martin



------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to