Fwd: Re: rsync + ssh -o -p -g -l

Wayne Davison wayned at samba.org
Sun Mar 6 18:20:26 GMT 2005


On Sun, Mar 06, 2005 at 10:45:01AM -0600, michael mendoza wrote:
> [root at tyto4 desc]# du -sh
> 52K     .
> 
> machine:/home/mike/Desktop/desc# du -sh
> 24K     .
> 
> I don't understeint that, why? in the source is 52 k
> and in the destination is 24k 

John mentioned the various things that can differ between systems.
Remember that "du" shows the whole amount of disk space used for a
file, including any wasted space, so it's easy for the numbers to be
different, especially if the file systems are of a different kind
(e.g. one is ext3 and the other is Reiser3).  So, it's probable that
the block-size is larger on the destination system.  If you run a
directory listing of both "dest" dirs ("ls -l dest") and the files
and sizes match, that is definitely the source of the discrepancy.

..wayne..


More information about the rsync mailing list