Expand description
§Lightweight file copy via BTRFS_IOC_CLONE_RANGE
Reflinks a byte range from one file to another: the destination
gains an extent reference to the source’s data, no bytes are
copied, and subsequent modifications are copy-on-write.
Equivalent to the standard VFS FICLONERANGE ioctl (the btrfs
and VFS encodings happen to share the same magic/number).
Functions§
- clone_
range - Reflink a range of bytes from
srctodst.