Rodolfo Medina <rodolfo.med...@gmail.com> writes:

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?


Rodolfo:

> You seem to be right: the problem seems to be solved adding in fstab
> `uid=1000'.


I spoke too early: the problem reappears at any new mounting of the pendrive.
Jordan, what do you mean by time preservation?  The time of the file is the
same on te pc and on the pendrive.

Thanks
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/87iq3fpxbh.fsf...@gmail.com

Reply via email to