public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Starks-Browning <starksb@ebi.ac.uk>
To: pat@pat.net
Cc: cygwin@cygwin.com
Subject: Re: 1.3.9: rsync daemon 2.5.1 broken
Date: Thu, 07 Feb 2002 11:40:00 -0000	[thread overview]
Message-ID: <2939-Thu07Feb2002194035+0000-starksb@ebi.ac.uk> (raw)
In-Reply-To: <20020207113819.64867@pat.net>

On Thursday 7 Feb 02, Pat writes:
> On Sun, Feb 03, 2002 at 12:37:08PM -0600, Pat wrote:
> > I've installed the latest cygwin 1.3.9 in order to use the rsync daemon.
> > I have a setup that works fine under Solaris and basic mirroring works
> > to my cyginw box.  However when I use the rsync "-backup" option (which tells
> > rsync to save copies of modified files, necessary for incremental backups)
> > rsync backs up all of the files every time...
> 
> I've determined that the problem is more fundamental...  Even without
> the -backup behavior the cygwin rsyncd causes many many files to be
> copied even whn they have not been modified.
> 
> I thought perhaps it was because Win98 would not properly preserve
> ownership or permissions, so I removed those options (stopped using -a)
> and specified only recursion, time stamp, and links.  I also believe that
> directories are not preserved in a case sensitive way (two dirs differing
> only by case cause problems for cygwin), but that is not the issue either...

From the rsync man page:

       --modify-window
              When  comparing  two  timestamps  rsync  treats the
              timestamps as being equal if they  are  within  the
              value  of modify_window. This is normally zero, but
              you may find it useful to  set  this  to  a  larger
              value  in  some  situations.  In  particular,  when
              transferring to/from FAT filesystems  which  cannot
              represent  times  with  a  1 second resolution this
              option is useful.

Try --modify-window=2.  Let us know if that's the right solution.

> Basically I think rsync under cygwin is just behaving badly.

On Win98.  Not Cygwin's fault.

Lapo, that might be a good thing to mention in the
/usr/doc/Cygwin/rsync-<ver>.README file.

David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2002-02-07 19:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-03 10:35 Pat
2002-02-07  9:36 ` Pat
2002-02-07 11:40   ` David Starks-Browning [this message]
2002-02-07 13:05     ` Pat
2002-02-08 12:58     ` Pat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2939-Thu07Feb2002194035+0000-starksb@ebi.ac.uk \
    --to=starksb@ebi.ac.uk \
    --cc=cygwin@cygwin.com \
    --cc=pat@pat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).