3 ms·
> Hard links don't have a canonical name though - they're all equally the same file, and this is really a problem: opening and editing a file in one location, e
by masklinn 4y ago
> Hard links don't have a canonical name though - they're all equally the same file, and this is really a problem: opening and editing a file in one location, edits it in all of them without you knowing what those locations might be.
That is something the filesystem could store tho, in the same way it stores the number of links to a file it could be a bit more capable and store the links themselves (possibly in a xattr).
> Symlinks at least explicitly declare the dependency and how it should mutate.
They only declare one dependency one way, it's not like a symlink gives you all the other symlinks to the terminal location it will affect.