3 ms·
There's also a reason no-one uses hard links: because you can't tell if you edit a file, where else you might be editing it.
by XorNot 9y ago
There's also a reason no-one uses hard links: because you can't tell if you edit a file, where else you might be editing it.
- pjmlp 9y agoWorse, if you ask around most people are unsure what happens to the original file when you delete an hard link.
- contras1970 9y agothere is no "original file": hard links are just synonymous names for a single blob. rm / unlink essentially just reduce a reference counter and the storage gets freed when the counter drops to zero.
- pjmlp 9y agoI know that, most users don't.
- ahy1 9y agoActually everyone use hard links. They just don't use multiple hard links to the same file.