Hacker News new | ask | show | jobs
by phiresky 477 days ago
If you replace `sh:link` with `sh:clone` instead, it will.

> clone: reflink-capable filesystems only. Try to clone both files with the FIDEDUPERANGE ioctl(3p) (or BTRFS_IOC_FILE_EXTENT_SAME on older kernels). This will free up duplicate extents while preserving the metadata of both. Needs at least kernel 4.2.