TIL that '..' is a hard link to the parent directory's inode (and maybe that hard links were _invented_ specifically to make the Unix filesystem hierarchical??)
-
-
Replying to @b0rk
What happens if parent directory is part of another filesystem? Hard links are obviously supported only within a same fs..
2 replies 0 retweets 9 likes -
Replying to @alex_lipov @b0rk
It's up to the lookup function (traditionally called namei()) to detect two special cases for '..': the current process root dir, and mountpoints
1 reply 0 retweets 1 like
In the mountpoint case, the lookup first traverses into the mounted-over directory, and then looks up the '..' entry in that instead
2:02 PM - 8 Jan 2020
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.