[maemo-developers] [maemo-developers] Opera draws fonts as blocks on specific pages when booting from mmc

From: Frantisek Dufka dufkaf at seznam.cz
Date: Tue Nov 7 00:13:20 EET 2006
Issue resolved. One mystery replaced by another one. It is caused by 
rsync. Looks like rsync -avH or -av or avW -avWH or whatever somehow 
does not make 1:1 copies. Strange but true.

When I replaced rsync -avH /opt/ /floppy/ by GNU tar (busybox doesn't 
handle long paths correctly) like this
tar cf - -C /opt . | tar xvf - -C /floppy
the result works fine with fonts in opera. I tried the cloning three or 
four times (different rsync options) both for rsync and then always 
again with tar (always did mke2fs on destination before cloning) and the 
result is consistent. Tar makes it right, rsync not.

What is strange is that when comparing files one by one via cmp, they 
are identical (compared result of 'find -type f') both with tar and 
rsync copy. Also when first cloned with tar and then synchronized result 
with rsync, rsync doesn't like some files/directories and synchronises 
them again but the result is that it is not messed up, opera fonts still 
work after rsync does its thing and filesystem is booted.

Would be really interesting to know exactly what rsync fails to do 
properly. Looks like some permissions/ownerships or something with 
devices/pipes/softlinks or whatever.

I tried to compare output of ls -l for some directories rsync didn't 
like but the result is not identical since directories are reported with 
different size. On jffs2 they take 0 bytes and on ext2 1024 
(=blocksize). Maybe output of ls -lR with removed size column would say 
something but I really don't want to do it again now. Maybe next time.

Frantisek

More information about the maemo-developers mailing list