💻 Software
What operations breaks the hardlinks?
Fresh5 days ago
Mar 15, 20263306 viewsConfidence Score0%
0%
Problem
I have a file "a.txt" and its hardlink "ha.txt". If I open either of those files in notepad and save any changes it would appear in both files as they are still linked. But if I overwrite (copy) a.txt with another file with same name the hardlink breaks. What other operations do this? Also, can I u…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: What operations breaks the hardlinks?
Low Risk
Anything that deletes and recreates the target file will break the link. Some applications will do this, some won't. I don't think there's any way to predict this in advance. Hard links are not a sensible backup mechanism, since there is only ever o…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix