Re:Google Drive: Shortcuts replacing files and folders store...
by djsavvy on Tuesday April 12, 2022 @07:21PM
(#31009423)
What kinds of cool behavior do hard links enable?
[ Parent
| on HN ]
Re:Google Drive: Shortcuts replacing files and folders store...
by mcoliver on Tuesday April 12, 2022 @07:44PM
(#31009583)
Every 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.
Re:Google Drive: Shortcuts replacing files and folders store...
by dtgriscom on Tuesday April 12, 2022 @10:13PM
(#31010514)
Apple'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.