5 ms·
I worked on another sync client's representation of filesystem structure, and came to the same conclusion. Hard links enable some cool behavior, but in retrospe
by zmj 5y ago
I worked on another sync client's representation of filesystem structure, and came to the same conclusion. Hard links enable some cool behavior, but in retrospect added more complexity than anyone expected. Migrating to shortcuts / soft links seems very reasonable - I wish I had started there.
- djsavvy 5y agoWhat kinds of cool behavior do hard links enable?
- mcoliver 5y 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 5y ago[deleted]
- dtgriscom 5y 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 5y agoUsed to, the new APFS implementation uses snapshots.