3 ms·
> The massive difference in performance in this case is due to fcp using fclonefileat and fcopyfile under the hood GNU Coreutils' cp, the thing you use on most
by kazinator 5y ago
> The massive difference in performance in this case is due to fcp using fclonefileat and fcopyfile under the hood
GNU Coreutils' cp, the thing you use on most GNU/Linux systems, is not the "Classic Unix cp".
It has options for copy-on-write cloning via kernel-specific methods.
COW copying is opt-in probably because it's not a true copy. If either file sustains damage, both are toast.