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

Re: A question about rsync's behaviour



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/12/2010 11:17 AM, Rodolfo Medina wrote:
> Hi to all Debian users.
> 
> I wish to know why rsync behaves in two different ways when working between two
> pcs connected by ethernet cable and, instead, when copying files from a pc to a
> pendrive.  Here's the output in the former case:
> 
> $ rsync -vrtul --delete Mail News 192.168.0.2:/home/rodolfo
> rodolfo@192.168.0.2's password:
> building file list ... done
> 
> sent 75797 bytes  received 20 bytes  16848.22 bytes/sec
> total size is 27753551  speedup is 366.06
> 
> 
> and in the second:
> 
> 
> $ rsync -vrtul --delete Mail News /mnt/pendrive2
> building file list ... done
> Mail/comp.emacs/
> Mail/comp.emacs/324
> Mail/comp.emacs/325
> Mail/comp.emacs/326
> Mail/comp.emacs/327
> Mail/comp.emacs/328
> Mail/comp.emacs/329
> Mail/comp.emacs/330
> Mail/comp.emacs/331
> Mail/comp.emacs/332
> Mail/comp.emacs/333
> Mail/comp.emacs/334
> Mail/comp.emacs/335
> Mail/comp.emacs/336
> 
> [...]
> 
> News/drafts/drafts/21
> News/drafts/queue/
> News/marks/
> News/marks/freenews.netfront.net-ephemeral/
> News/marks/news.gmane.org-ephemeral/gmane.linux.debian.user/
> News/marks/news.gmane.org-ephemeral/gmane.linux.debian.user/.marks
> News/marks/news.gmane.org/
> News/marks/news.gmane.org/gmane.linux.debian.user/
> News/marks/news.gmane.org/gmane.linux.debian.user/.marks
> News/marks/news.gnus.org-ephemeral/
> News/marks/news.readfreenews.net-ephemeral/
> 
> sent 7616774 bytes  received 30996 bytes  728359.05 bytes/sec
> total size is 27753551  speedup is 3.63
> 
> 
> The second output contain about 1,500 lines!, and the first only 5!
> 
> Can anybody explain why this difference, and how to make rsync behave with the
> pendrive the same as with ethernet cable?
> 
> Thanks for any help
> Rodolfo
> 
> 

I am not sure the exact reason, but I am betting on something along the
lines of the usb stick being formatted in a non-UNIX filesystem, such as
vfat. I know this is often the case when preserving permissions, which
you are not... So perhaps the time preservation?

- -- 
Jordan Metzmeier

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJMZBG9AAoJEKj/C3qNthmTmK4P/3DlhdTpYyCeWGvvMSrp0xWX
hAZEL1YXvV1sDiUPck2oucdNbnTHXurB4j/LnkLRrwgu5s+tGxtrO7H822ILB1B2
ZkvjymC8IjShrQ9YwKbXfZg5GMSXvDqaP2Eu/rRw8m5HI/1zprBmDKCyviRjZ7Vr
lSr7VmrqIOFqfoS8bYB41wblNzpzsDR9dpaVl3wZ0M67sIhsVBy6570VEJMm1rF4
cymrS57h8hwBt9zp3vZVk7gD1AqNz61CwdUDwuNfP7y/BADu6iyk4Ab8mo25BU62
TpKBjtnU9c74gsm4HWYaYSAdEl5OQxG7nCTHb2mMng1NT7iYpApRtR/JbkdAPcA2
rOb8RcJ/YmxC/XDd7A1xCtuCN9ZEP1nfP5zSCwVQi6WuW1dgbOqyRR3AksK28fCg
7H3ES8lMLju1BmS0AtK2ZndJm3TC5BWpL76fyNzXdo/lGh0d4Rpm+Nl9Xxx5lZY6
TEDRC95LOFBHlr9YHos/LepHbA5p5kp0PRM1vd3R2MclLt7PFQUp8Jb9Fjhsw0fU
5/XRiPkORQq0Npnj637iKFmWhqOoZ3u9WIlZuKsLjBO0FcnQZSRGA81b1YVgIgsd
Paq03B1yzJ9vlFY94glFNdGY8bvb9hTbG3a5oZ2Og6AENFaY+uBCtiwJTf5d9OuL
KjDllGD5SrUQXjixRhVQ
=vu21
-----END PGP SIGNATURE-----


Reply to: