Tag

block indexing

0 views collected around this technical thread.

Top Architect
Top Architect
Jan 19, 2023 · Fundamentals

Understanding Sparse Files and Why cp Can Copy a 100 GB File Instantly on Linux

This article explains how Linux file systems represent file size versus actual disk usage, demonstrates the difference between Size and Blocks using du and stat, describes inode and multi‑level block indexing, and shows why copying a sparse 100 GB file with cp finishes in a fraction of a second.

Inodeblock indexingcp command
0 likes · 12 min read
Understanding Sparse Files and Why cp Can Copy a 100 GB File Instantly on Linux
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.

Inodeblock indexingcp command
0 likes · 11 min read
Understanding Sparse Files and Inode Block Indexing in Linux File Systems
IT Architects Alliance
IT Architects Alliance
May 15, 2022 · Fundamentals

Why cp Can Copy a 100 GB File Instantly: Sparse Files and File System Mechanics

This article explains why the Linux cp command appears to copy a 100 GB file in less than a second by exploring sparse files, the distinction between file size and allocated blocks, inode structure, multi‑level block indexing, and how these concepts enable fast copying of seemingly huge files.

CPInodeblock indexing
0 likes · 11 min read
Why cp Can Copy a 100 GB File Instantly: Sparse Files and File System Mechanics
Architect's Tech Stack
Architect's Tech Stack
Nov 6, 2021 · Fundamentals

Why cp Can Finish Instantly: Understanding Inodes, Block Indexing and Sparse Files

The article explains how a Linux file can appear to be 100 GB yet copy in under a second because the file system uses inodes, direct and indirect block pointers, and sparse allocation, separating logical size from actual physical storage.

Inodeblock indexingcp command
0 likes · 10 min read
Why cp Can Finish Instantly: Understanding Inodes, Block Indexing and Sparse Files