Understanding Linux – The Kernel Perspective @unix-byte.bsky.social · 30/07/2025When a process invokes a system call referencing a pathname (e.g., "foo/bar/baz"), the kernel calls walk_component() on each component of the path: "foo" → "bar" → "baz". If a component is either "." or "..", walk_component() dispatches handling to handle_dots() 100
Understanding Linux – The Kernel Perspective @unix-byte.bsky.social · 30/07/2025Where is it defined that "." denotes the current working directory? Does the C language understand this convention? The answer is no—for example, C's chdir() function simply passes the string to the chdir system call. It is the kernel that interprets "." as the current working directory 000
Understanding Linux – The Kernel Perspective @unix-byte.bsky.social · 28/07/2025Where’s the kernel? In this great zine by @b0rk.jvns.ca the kernel isn’t shown—but the TTY driver is part of it, managing I/O between the terminal and user-space programs—like the shell—and terminal devices. The zine focuses on what the user can see 👀 bsky.app/profile/b0rk... 100