On 08/12/2010 11:17 AM, Rodolfo Medina wrote: >> 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 >> rodo...@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?
Jordan Metzmeier <titan8...@gmail.com> writes: > 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? You seem to be right: the problem seems to be solved adding in fstab `uid=1000'. Maybe there is a better way? But, now, another strange behaviour from `ls' command: just after copying `~/Mail' to `/mnt/pendrive/Mail', I have: $ ls -ld Mail drwxr-xr-x 92 rodolfo rodolfo 4096 2010-08-12 17:17 Mail $ ls -ld /mnt/pendrive1/Mail drwxr-xr-x 92 rodolfo rodolfo 8192 2010-08-12 17:17 /mnt/pendrive1/Mail Why the difference between 4096 and 8192?? Thanks for any help Rodolfo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bp97re88.fsf...@gmail.com