Hey dev.to 👋
Post 6/8 of my Operating Systems Explained series is out.
This one is about filesystems: files and inodes, directories as tables all the way down, hard links and cheap renames, journaling and crash consistency, permissions, and the path a single open takes from a name to bytes.
My favorite detail: separating names from metadata is what makes renaming cheap and hard links possible. Renaming rewrites a directory entry — it never moves a single byte of the file.
Top comments (0)