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?
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
