Answer by thomasrutter for Filesystem with copy on write hard links
Another possibility is to set up a shared directory with the sticky bit set.On a Linux system, the /tmp directory has the permissions drwxrwxrwt, or 1777 in numeric terms, which ensures that anybody...
View ArticleAnswer by thomasrutter for Filesystem with copy on write hard links
With a bit of planning you can achieve what you want with overlayfs.You would take all the files common to all instances and put them into the normally read-only lower directory.Then, user overlayfs to...
View ArticleAnswer by u1686_grawity for Filesystem with copy on write hard links
You're looking for the reflink feature, which was introduced in 2009. It only works with certain filesystems – currently Btrfs, XFS, and the upcoming Bcachefs. (ZFS is still working on it.)Use...
View ArticleFilesystem with copy on write hard links
Study case:An automatic backup system from all family members via OpenVPN.A lot of files (especially photos) are common between family members.So, with a script I replace identical files with hard...
View Article