HomeFreeBSD

If copy_file_range(2) fails with EXDEV, use fall-back.

Description

If copy_file_range(2) fails with EXDEV, use fall-back.

Details

Event Timeline

I personally find cp(1) far too important to let it fail sporadically.

I would prefer we always fall back, no matter what the errno, but be "fprintf(stderr, ..." noisy about unexpected errno's so that bugs get discovered.