Hi,

I can't manage to get rsync's --link-dest option working.
Here is a step by step script which doesn't produce the good results.

# create test dir
mkdir testrsync
cd testrsync
mkdir orig
echo "abcd" > orig/testfile

# create a mirror
rsync -apog orig/ mirror/

# create another mirror using link-dest
rsync -apog --link-dest=mirror/ orig/ mirror2/

# look at inodes
ls -li mirror/
ls -li mirror2/

The inodes differs, even if timestamps, modes and size contents don't.

What's wrong ?

I'm running linux-2.6 (but I don't think that's related), and tried with both 
rsync 2.5.6 and the current CVS version.

Thank you,

Lucas
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to