3 ms·
Many comments here offering similar solutions based on hardlinks or symlinks. This uses a specific feature of APFS that allows the creation of copy-on-write cl
by andrewla 2y ago
Many comments here offering similar solutions based on hardlinks or symlinks.
This uses a specific feature of APFS that allows the creation of copy-on-write clones. [1] If a clone is written to, then it is copied on demand and the original file is unmodified. This is distinct from the behavior of hardlinks or symlinks.
[1] https://en.wikipedia.org/wiki/Apple_File_System#Clones https://en.wikipedia.org/wiki/Apple_File_System#Clones
- deleted 2y ago[deleted]
- bombela 2y agoAlso called reflink on Linux. Which are supported by bcachefs, Btrfs, CIFS, NFS 4.2, OCFS2, overlayfs, XFS, and OpenZFS. Sources: https://unix.stackexchange.com/questions/631237/in-linux-which-filesystems-support-reflinks#631238 https://unix.stackexchange.com/questions/631237/in-linux-whi... https://forums.veeam.com/veeam-backup-replication-f2/openzfs-2-2-support-for-reflinks-now-available-t90517.html https://forums.veeam.com/veeam-backup-replication-f2/openzfs...