# Filesystem: inodes and blocks

Week 8 · Filesystem · Operating Systems
The page also has an interactive playground: https://alfonsocampodonico.com/classes/operating-systems/filesystem?lang=en
Code: https://github.com/AlfonsoCampodonico/os-playground/tree/main/src/sim (`gh repo clone AlfonsoCampodonico/os-playground`)

> A tiny disk with bitmaps, inodes and data blocks: run mkdir, creat, link and unlink.

A filesystem is an on-disk data structure. Run operations and watch which bitmaps, inodes and blocks change, and how a path like /a/b/c is resolved.

**OSTEP:** chapters 39–40, and the playground reproduces its `vsfs.py` homework simulator, seed for seed.

The playground above keeps its whole setup in the URL, so a link to this page reproduces the exact example. Change the inputs, step through it, and share the link.
