[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] custom KNOPPIX : my_knx.iso went way bigger ?



Hallo Klaus,
Hallo Chris,

----- Original Message -----
From: "Klaus Knopper" <knopper@linuxtag.org>
To: "Fabrice LABORIE" <laborie@sbm.net.sa>
Cc: <debian-knoppix@linuxtag.org>; <perle@itm.tu-clausthal.de>
Sent: Thursday, October 03, 2002 12:43 AM
Subject: Re: [debian-knoppix] custom KNOPPIX : my_knx.iso went way bigger ?


> On Tue, Oct 01, 2002 at 12:58:48AM +0300, Fabrice LABORIE wrote:
> > > or rsync -Ha which can DEFINITELY handle hardlinks correctly.
> >
> > same result with cp/afio/rsync as far as du is concerned : 2050MB
>
> Are you measuring the ISO or the data on an ext2 partition?

not the iso .. du -s of the ext2  knx_root partition.

I was actually  used a reiserfs at first. then, I gave it a try on a ext2
partition without
finding any substential difference ( on ext2 it  was a tiny bit smaller. but
I had also small difference
when using cp/afio/rsync even on the same partition !!).


> You only copied /KNOPPIX, and not anything from /, right?
right!

> > same result with mkisofs -U -l -R : KNOPPIX singularity is 726MB :( :(
:(
> > what is going on ??
>
> I don't know. Maybe a miracle?
voodoo ?
> Can you descend into each directory and try to find out exactly what
> went bigger by du -sk?
here we go after a rsync

du -sk *
4476    bin
1404    boot
4       cdrom
96      dev
20144   etc
4       floppy
4       home
4       initrd
32752   lib
16      mnt
200172  opt
4       proc
4       root
7348    sbin
0       tmp
1680128 usr
105064  var
0       vmlinuz
vs

du -sk /KNOPPIX/*
4283    /KNOPPIX/bin
1389    /KNOPPIX/boot
2       /KNOPPIX/cdrom
688     /KNOPPIX/dev
12528   /KNOPPIX/etc
2       /KNOPPIX/floppy
2       /KNOPPIX/home
2       /KNOPPIX/initrd
30225   /KNOPPIX/lib
8       /KNOPPIX/mnt
190183  /KNOPPIX/opt
2       /KNOPPIX/proc
2       /KNOPPIX/root
6996    /KNOPPIX/sbin
0       /KNOPPIX/tmp
1441891 /KNOPPIX/usr
80494   /KNOPPIX/var
0       /KNOPPIX/vmlinuz


so we see that there are differences in almost all directories .. the big
differnce beeing
on  usr...
I looked into boot .. they are exactly the same but "du" differs...
root@0[boot]# ls -alF .
total 1408
drwxr-xr-x    2 root     root         4096 Sep 29 19:05 ./
drwxr-xr-x   19 root     root         4096 Sep 29 19:13 ../
lrwxrwxrwx    1 root     root           21 Sep 29 19:05 System.map ->
System.map-2.4.19-xfs*
-rwxr-xr-x    1 root     root       503853 Aug 11 14:26
System.map-2.4.19-xfs*
lrwxrwxrwx    1 root     root           18 Sep 29 19:05 vmlinuz ->
vmlinuz-2.4.19-xfs*
-rwxr-xr-x    1 root     root       915092 Aug 11 14:26 vmlinuz-2.4.19-xfs*
root@0[boot]# du -sk .
1404    .
root@0[boot]# du -sb *
0       System.map
512000  System.map-2.4.19-xfs
0       vmlinuz
921600  vmlinuz-2.4.19-xfs
root@0[boot]# ls -alF /KNOPPIX/boot/
total 1393
drwxr-xr-x    2 root     root         2048 Sep 21 20:54 ./
drwxr-xr-x   19 root     root         4096 Sep 22 00:41 ../
lrwxrwxrwx    1 root     root           21 Aug  3 18:02 System.map ->
System.map-2.4.19-xfs*
-rwxr-xr-x    1 root     root       503853 Aug 11 14:26
System.map-2.4.19-xfs*
lrwxrwxrwx    1 root     root           18 Aug  3 18:03 vmlinuz ->
vmlinuz-2.4.19-xfs*
-rwxr-xr-x    1 root     root       915092 Aug 11 14:26 vmlinuz-2.4.19-xfs*
root@0[boot]# du -sk /KNOPPIX/boot/
1389    /KNOPPIX/boot
root@0[boot]# du -sb /KNOPPIX/boot/*
0       /KNOPPIX/boot/System.map
504320  /KNOPPIX/boot/System.map-2.4.19-xfs
0       /KNOPPIX/boot/vmlinuz
915456  /KNOPPIX/boot/vmlinuz-2.4.19-xfs

We can notice that the size of System.map-2.4.19-xfs is a multiple of 1K
:500*1024=512000 ...
the real size according to ls did not change though!
could this be the trick ?
( on the reiserfs partition I have even bigger du  -sb usage [ ls giving the
same result !!!! ]
du -sb /mnt/hda8/knx_root/boot/*
512     /mnt/hda8/knx_root/boot/System.map
507904  /mnt/hda8/knx_root/boot/System.map-2.4.19-xfs
512     /mnt/hda8/knx_root/boot/vmlinuz
917504  /mnt/hda8/knx_root/boot/vmlinuz-2.4.19-xfs
root@0[boot]# ls -alFt /mnt/hda8/knx_root/boot/*
lrwxrwxrwx    1 root     root           21 Sep 28 07:24
/mnt/hda8/knx_root/boot/System.map -> System.map-2.4.19-xfs*
lrwxrwxrwx    1 root     root           18 Sep 28 07:24
/mnt/hda8/knx_root/boot/vmlinuz -> vmlinuz-2.4.19-xfs*
-rwxr-xr-x    1 root     root       503853 Aug 11 14:26
/mnt/hda8/knx_root/boot/System.map-2.4.19-xfs*
-rwxr-xr-x    1 root     root       915092 Aug 11 14:26
/mnt/hda8/knx_root/boot/vmlinuz-2.4.19-xfs*
)


Is this also happening with you guys?
or is this only me ;-)

probably very irrelevent but here we go anyway : the pc on which i am trying
to build my iso
is an old PII 400Mhz with 200M Ram + lots of swap, running RH7.3 when not
building the iso ]

do you need some other troubleshooting ???
you think that this is the problem?? I really don't get it  :( :( :(

thanks again for your precious help.
fabrice.


_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: