Tagged articles

cp command

10 articles · Page 1 of 1
Top Architect
Top Architect
May 19, 2022 · Fundamentals

Understanding Sparse Files and Inode Block Indexing in Linux File Systems

The article explains why a 100 GB file can be copied in under a second by examining the difference between logical file size and physical block usage, demonstrating sparse file behavior, inode structure, direct and indirect block indexing, and how these mechanisms affect copy performance on Linux.

File SystemInodeLinux
0 likes · 11 min read
Understanding Sparse Files and Inode Block Indexing in Linux File Systems
Programmer DD
Programmer DD
Oct 10, 2021 · Fundamentals

Why Does cp Copy a 100 GB Sparse File in Under a Second?

This article explains why copying a seemingly 100 GB file with the cp command finishes almost instantly by exploring sparse files, the difference between file size and physical block usage, inode structures, multi‑level block indexing, and how modern file systems efficiently manage storage.

File SystemInodecp command
0 likes · 12 min read
Why Does cp Copy a 100 GB Sparse File in Under a Second?