If copy_file_range(2) fails with EXDEV, use fall-back.
Description
Description
Details
Details
- Provenance
phk Authored on Apr 4 2023, 7:39 AM - Parents
- rG396b6914c91f: Fix pcie phy enabling codes for RK3568 SoC.
- Branches
- Unknown
- Tags
- Reverted By
- rGc5b5f2d8086f: cp: Revert "If copy_file_range(2) fails with EXDEV, use fall-back."
Event Timeline
Comment Actions
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.