3 ms·
What kinds of cool behavior do hard links enable?
by djsavvy 4y ago
What kinds of cool behavior do hard links enable?
- mcoliver 4y agoEvery file is essentially the master pointing at the same inode. So the file remains as long as any of the hard links exist. With soft links if you delete the master file all the soft links stop working.
- deleted 4y ago[deleted]
- dtgriscom 4y agoApple's Time Machine uses hard-linked directories to replicate your home directory again and again, but with only the changed directories/files actually taking up space. The unchanged directories are just hard-linked to the previous versions, so any one version looks like your entire drive, but it takes much less space than full copies.
- saagarjha 4y agoUsed to, the new APFS implementation uses snapshots.