File Systems

How OverlayFS Works: Layers, Whiteouts, and Why Containers Share Base Images

A container that starts from a shared Debian image layer, writes a new hostname into /etc/hostname, and deletes a file that came from the ba...

Sarthak Bystander 3 Nov, 2026

How File System Journaling Works: Ext4, Ordered Mode, and Why fsync Is Not Free

A database that calls fsync after a commit expects the bytes it wrote to survive a power cut. A filesystem that just renamed a temporary fil...

Sarthak Bystander 22 Oct, 2026

How the Linux VFS Works: Inodes, Dentries, and Why Paths Are Not Files

An open("/var/log/app.log", O_RDONLY) does not hand the kernel a file. It hands the kernel a string. The Virtual File System (VFS...

Sarthak Bystander 1 Oct, 2026

How the Linux Page Cache Works: Radix Trees, Writeback, and Why read() Hits DRAM

A process asks for a few bytes from a file. The kernel may return them without asking the storage device for anything at all—not because the...

Sarthak Bystander 27 Sept, 2026