It is not infinite, but it is inconvenient since rsync would generate a transfer error. I think it makes sense to detect such symlinks and have an option which would modify copy-links and keep-dirlinks behavior, since it's not always possible to modify the sending filesystem to correct the loop.
----- Original Message ----- From: Wayne Davison Date: Sunday, August 22, 2004 8:05 am > Yeah, that's what all older rsyncs would do when --copy-links was used > in that situation (--copy-links used to have the unexpected side- > effecton the receiver of the new --keep-dirlinks option). I also > note that a > looping symlink on the sender would result in a similar loop > trying to > find all the files to send (it's not infinite, since the names will > eventually either exceed the symlink recursion limit or the maximum > path-length). > > I'm debating whether this is something that should be guarded > against or > not. Opinions welcomed. > -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html