Timeline for Why does this new directory have a link count of 3?
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 13, 2021 at 2:44 | vote | accept | Shisui | ||
| Dec 13, 2021 at 1:45 | review | Close votes | |||
| Dec 17, 2021 at 3:06 | |||||
| Dec 13, 2021 at 1:27 | comment | added | SuperStormer | Does this answer your question? Why does a new directory have a hard link count of 2 before anything is added to it? | |
| Dec 12, 2021 at 15:32 | history | became hot network question | |||
| Dec 12, 2021 at 11:55 | comment | added | Ned64 | @StephenKitt Good point, yes. | |
| Dec 12, 2021 at 9:18 | comment | added | Stephen Kitt | @Ned64 not quite: the space is freed when the count reaches 0 and all open descriptions are closed (which I imagine you’re aware of, I just think it’s worth mentioning). | |
| Dec 12, 2021 at 8:58 | comment | added | Ned64 |
root is the owner. The number of hard links is shown, that is, the number of references to that folder from other folders. A simple file would have 1 link/reference. The background is that only when that number reaches 0 the space on the disk will be de-allocated (made available for other files).
|
|
| Dec 12, 2021 at 8:54 | history | edited | Shisui | CC BY-SA 4.0 |
deleted 354 characters in body
|
| Dec 12, 2021 at 7:32 | answer | added | Stephen Kitt | timeline score: 27 | |
| S Dec 12, 2021 at 7:24 | review | First questions | |||
| Dec 12, 2021 at 9:08 | |||||
| S Dec 12, 2021 at 7:24 | history | asked | Shisui | CC BY-SA 4.0 |