Episode Details

Back to Episodes
A Virtual Disk Inside Your Linux Filesystem

A Virtual Disk Inside Your Linux Filesystem

Episode 6186 Published 1 week, 4 days ago
Description
Daniel wants a pocket of storage inside his ext4 home server — a virtual disk that lives as a single file, mounts from fstab, and behaves like a real partition. No VM required. The kernel already knows how to pretend a file is a disk, and that trick is called a loop device. This episode walks through building image files with truncate versus fallocate, why sparse files can fail at 3am, how LUKS encryption and Squashfs read-only images ride on top of the loop, and why swap files take a completely different path through the kernel. Plus: project quotas as the boring alternative, fscrypt for per-directory encryption, and what happens when you try to hand a laptop swap space over the network. Episode 6186 — myweirdprompts.com/n/6186 (permanent short link: myweirdprompts.com/363722)
Listen Now

Love PodBriefly?

If you like Podbriefly.com, please consider donating to support the ongoing development.

Support Us