Build a File System
Build an ext-style file system: superblock, allocation bitmaps, inodes (with extents), directory entries, path resolution, journaling for crash safety, and the design choices behind ext4/xfs/btrfs/ZFS.
advanced10 lessons4 chapters10 graded exercisesPython
No sign-up needed for lesson 1 · certificate on completion · sign up to save progress
What you’ll have built
Chapter by chapter. Every step is a graded exercise.
- Disk Layout
- Inodes & Files
- Directories & Paths
- Crash Safety & Modern FS
Starts in Python — solve in the language you choose in the editor, same tests either way.
Curriculum
4 chapters, 10 lessons. Each lesson is a short read, one graded exercise, and a quiz.
- 1What File Systems SolveRead · exercise · quiz
- 2SuperblockRead · exercise · quiz
- 3Allocation BitmapsRead · exercise · quiz
Loading reference solution…