4 ms·
If the file system implements copy-on-write, wouldn't a hard link even preserve the original file if the file is edited through the original inode?
by LaputanMachine 5y ago
If the file system implements copy-on-write, wouldn't a hard link even preserve the original file if the file is edited through the original inode?
- CyberShadow 5y agoCopy-on-write and hard links are different things. A file clone would, though (as in cp --reflink).
- LaputanMachine 5y agoSo if I understand correctly, copy-on-write is implemented using hard links, but the existence of hard links alone doesn't constitute CoW.
- andruby 5y agoYou can also have hard links on non CoW filesystems (eg ext3). I assume hard links exists on most filesystems