Martin Hejl wrote: >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/ > > > Thanks Martin, I thought it could be the different gzip. I thought therefore it would perhaps be better to use bzip2 which is very efficient but a little trial turned out that gzip -9 gives a better compression than bzip2 -9. I need the highest compression as the leafbox is a very old winchip (90 MHz) system with an MB that was made before USB was available so I have to use floppies. Well I think I have somewhere a somewhat more modern MB (K6 500MB!) with USB to load a small system with USB support with a floppy and get the packages from an USB stick.That's more than fast enough. Joep
------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/