3 ms·
But if the file you are removing is the only reference (i.e. hard link) to that inode, you're not just modifying the directory's contents; you're also removing
by yberreby 9y ago
But if the file you are removing is the only reference (i.e. hard link) to that inode, you're not just modifying the directory's contents; you're also removing data from the filesystem as a whole.
- glandium 9y agoNote that something else also happens to the inode when it's not the only reference: removing a file changes the "nlink" counter on the inode.
- paulddraper 9y agoRight. You are only affecting that directory listing. Any other hardlinks in any other directories are completely unaffected.