Sparse files allow filesystems to create files with huge logical sizes without allocating actual disk space for zero-filled regions. When a linker script places sections 8GiB apart in virtual address space, the resulting binary appears as 8GB in size but only occupies 12KB on disk. The filesystem stores extent mappings for

3m read timeFrom fzakaria.com
Post cover image
Table of contents
Apparent size vs. on-disk sizeWhat is a sparse file?Creating sparse files yourself

Sort: