Hi, On Thu, Dec 16, 2004 at 01:07:35AM -0800, Wayne Davison wrote: > On Thu, Dec 16, 2004 at 01:38:42PM +0500, Yakov Hrebtov wrote: > > where is the message -- skipping non-regular file "broken-link"? > > I can only imagine that this is some kind of OS misfeature. Try running > rsync under something like "strace -f" (or your OS's equivalent) and see > what is going wrong with the system calls. If you see readlink() return > -1 for the file, that would cause rsync to skip it as non-existent.
Here is strace log for this case: $ strace -fF -e trace=readlink,access rsync -a src/ dst/ Process 1328 attached [pid 1328] --- SIGSTOP (Stopped (signal)) @ 0 (0) --- [pid 1327] access(".", R_OK) = 0 [pid 1327] readlink("broken-link", "missing", 4095) = 7 [pid 1327] access("broken-link", R_OK) = -1 ENOENT (No such file or directory) Process 1329 attached [pid 1329] --- SIGSTOP (Stopped (signal)) @ 0 (0) --- [pid 1329] --- SIGUSR2 (User defined signal 2) @ 0 (0) --- Process 1329 detached [pid 1328] --- SIGCHLD (Child exited) @ 0 (0) --- Process 1328 detached --- SIGCHLD (Child exited) @ 0 (0) --- -- ldv
pgpiwfRhi6aXd.pgp
Description: PGP signature
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html