Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
XorNot
on Aug 20, 2017
|
parent
|
context
|
favorite
| on:
Ideal OS: Rebooting the Desktop Operating System
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
on Aug 20, 2017
|
next
[–]
Worse, if you ask around most people are unsure what happens to the original file when you delete an hard link.
contras1970
on Aug 20, 2017
|
parent
|
next
[–]
there 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
on Aug 20, 2017
|
root
|
parent
|
next
[–]
I know that, most users don't.
ahy1
on Aug 21, 2017
|
prev
[–]
Actually everyone use hard links. They just don't use multiple hard links to the same file.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: