Fwd: --link-dest does not appear to be linking on Cygwin
clint.olsen at gmail.com
Tue Jun 5 15:02:49 MDT 2012
I have attempted to following some instructions to use --link-dest in
order to preserve space for multiple backups. I'm using rsync on
Cygwin with a NAS (ext4) which does support hard-links on the
filesystem. I've written a short program that does attempt to create a
hard-link on this NAS from Cygwin and it does look to be working. If I
run ls -li on the NAS the inodes are the same. However, on Cygwin the
inodes returned are not. I assumed that what's important is that the
NAS handles the hard-links correctly.
I checked the archives and it looks like a common mistake is
inconsistent usage of the trailing backslash. My usage looks something
% rsync -aP --delete --delete-excluded
I'm running this from "/cygwin/c/Documents and Settings/" directory,
and the directory under the symlink "current" is "Nancy".
Is there a way to tell if rsync thinks it's found a match and
attempting to link?
More information about the rsync