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

From: Marius Gedminas marius at pov.lt
Date: Tue Nov 7 15:12:09 EET 2006
On Mon, Nov 06, 2006 at 11:13:20PM +0100, Frantisek Dufka wrote:
> 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.

File permissions or ownership?  Symlinks/hardlinks?  Device
nodes/named pipes?  Tar is *very* good at reproducing all sorts of Unixy
file attributes.  Though I always expected rsync -a to be just as
good...

> 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.

Cmp only compares file contents.  Try tar --diff instead:

  rm -r /floppy/*
  rsync -avH /opt/ /floppy/
  tar cf - -C /opt . | tar dvf - -C /floppy

> 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.

Marius Gedminas
-- 
A: No.
Q: Should I include quotations after my reply?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20061107/a64b45f6/attachment.pgp 
More information about the maemo-developers mailing list