Liangxu Linux
Apr 5, 2021 · Fundamentals
Why cp Copies a 100 GB File in <1 s: The Sparse File Secret
This article explains why the Linux cp command can duplicate a seemingly 100 GB file in less than a second by revealing how sparse files work, the role of inodes and block allocation, the different cp --sparse modes, and the underlying filesystem mechanisms such as fiemap, extent copying, and hole punching.
LinuxSparse Filescp
0 likes · 40 min read
