LFS-2.3.6 released

Gerard Beekmans gerard at linuxfromscratch.org
Thu Jul 20 05:34:23 PDT 2000


> For example:
> 
> bash - 1,708,138 bytes (from LFS 2.3.6)
> -r--r--r--   1 mirror   mirror    1708806 Mar 21 06:04 bash-2.04.tar.gz 
> (from mirror.aarnet.edu.au)

Hmm.

Ok, here's the deal. All the packages on my harddisk are re-compressed
with bzip2. So I copy the package to a temp dir. unbzip2 it and then run
gzip on it, do a ls -l on it and write down the size.

Let me verify something here.

>From ftp.gnu.org/gnu/bash:

ftp> ls bash-2.04.tar.gz
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
-rw-r--r--   1 ftp      ftp       1708806 Mar 21 16:04 bash-2.04.tar.gz
226 Transfer complete.

Hmm, weird.

Ok, now see this:

after bunzip2 bash-2.04.tar.bz2 and gzip bash-2.04.tar :

gerard:/usr/src$ ls -l bash-2.04.tar.gz 
-r--r--r--   1 gerard   gerard    1708806 Jul 20 08:26 bash-2.04.tar.gz
gerard:/usr/src$ 

So either I made a typo or...

Ok, trying diffutils:

my local diffutils is:
ls -l gerard:/usr/src$ ls -l diffutils-2.7.tar.gz 
-rw-rw-r--   1 gerard   gerard     312330 Jul 20 08:28
diffutils-2.7.tar.gz


now trying with gzip -9 diffutils-2.7.tar.gz (best compression):

gerard:/usr/src$ ls -l diffutils-2.7.tar.gz 
-rw-rw-r--   1 gerard   gerard     310941 Jul 20 08:28
diffutils-2.7.tar.gz

gzip -5 makes the file bigger than on ftp.gnu.org, gzip -6 makes it
smaller.

Anybody got some idea on what's going on? Perhaps an older gzip program
was used to create the file on ftp.gnu.org (can't be newer since I'm
using the most recent version on ftp.gnu.org/gnu/gzip - unless there are
beta version(s) on alpha.gnu.org).

I will add a note that filesizes will differ slightly on different
machines and that the listed filesizes must be interpreted as aproximate
file sizes. Or I could of course get the sizes from ftp.gnu.org and other
sites. I think I might do that in the end.




-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list