So, like a lot of people, I am using --link-dest to do backups.  My
backup target is ext4 so with a hard link limit of 64K.  I do end up
with trying to create too many links at some point though and get the
following sequence of events:

rsync: link 
"/.snapshots/hourly.0/linux/usr/src/openwrt-r18617/build_dir/host/mpfr-2.4.1/tests/.deps/tui_sub.Po"
 => 
usr/src/openwrt-r18617/build_dir/host/bison-2.3/examples/calc++/.deps/calc++-driver.Po
 failed: Too many links (31)
Hlink node data for 2282618 already has 
path=usr/src/openwrt-r18617/build_dir/host/bison-2.3/examples/calc++/.deps/calc++-driver.Po
 (usr/src/openwrt-r18617/build_dir/host/mpfr-2.4.1/tests/.deps/tui_sub.Po)
rsync error: errors with program diagnostics (code 13) at hlink.c(548) 
[generator=3.0.9]
rsync: connection unexpectedly closed (222362 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) 
[sender=3.0.9]

It seems awfully heavy-handed for this "Too many links" condition to
be treated as an outright error.  Surely it's sufficient to just fail
to hard-link and move on, yes?

Any thoughts?

Cheers,
b.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to