Sign in

Understanding Linux – The Kernel Perspective

@unix-byte.bsky.social
38 followers 16 following 9 posts

Book "Understanding Linux: The Kernel Perspective" leanpub.com/linuxkernel Amazon: amazon.com/dp/B0FCBKCGGC #linux #unix #freebsd #operatingsystems #kernelmodules

PostsRepliesMedia
Understanding Linux – The Kernel Perspective @unix-byte.bsky.social · 30/07/2025
When 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/2025
Where 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/2025
Where’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