Tagged articles
sparse file
14 articles · Page 1 of 1
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.
InodeLinuxblock indexing
0 likes · 12 min read

The article explains why copying a seemingly 100 GB file with the cp command finishes instantly by analyzing file size versus allocated blocks, sparse file concepts, inode structures, direct and indirect block indexing, and how Linux file systems manage storage space efficiently.
InodeStoragecp command
0 likes · 11 min read

Learn how to recognize Linux sparse files, use commands like du, ls, tar, and find to accurately assess their true disk usage, and efficiently copy or compress massive log files without consuming unnecessary space.
command-linedisk usagefile-system
0 likes · 6 min read

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.
InodeLinuxblock indexing
0 likes · 11 min read

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.
FilesystemInodeLinux
0 likes · 11 min read

This article explains why a log file appears larger than its actual disk usage, introduces sparse files, and provides Linux commands to identify, copy, and compress them efficiently.
cpsparse filetar
0 likes · 5 min read

This article explains why Linux utilities like du and ls can report dramatically different file sizes, introduces the concept of sparse files, and shows practical commands to identify and correctly handle them on Unix-like systems.
FilesystemLinuxdu
0 likes · 5 min read

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.
InodeLinuxblock indexing
0 likes · 10 min read

The article explains why the Linux cp command appears to copy a 100 GB file in less than a second by exploring sparse files, the difference between logical file size and physical block allocation, and how inode direct and indirect indexing enable efficient storage and fast copying.
InodeLinuxStorage
0 likes · 11 min read

A colleague was amazed when the cp command copied a 100 GB file in less than a second, prompting an investigation that reveals the difference between logical file size and physical block usage, the role of inodes, direct and indirect block indexing, and how sparse files make such copies appear instantaneous.
Inodeblock indexingcp command
0 likes · 12 min read

The article explains how Linux file systems use inodes and multi‑level block indexing to separate a file's logical size from its physical storage, illustrating why copying a seemingly huge file with the cp command can complete instantly when the file is sparse.
Inodeblock indexingcp command
0 likes · 10 min read

A colleague copied a 100 GB file in under a second, prompting an investigation that reveals how Linux file systems distinguish logical file size from physical storage using inodes, block allocation, direct and indirect indexing, and sparse file techniques that make such copies appear instantaneous.
InodeLinuxcp command
0 likes · 11 min read

A colleague copied a 100 GB file with the cp command and it finished in under a second, prompting an investigation that reveals the difference between a file's logical size and its physical block usage, the role of inodes, direct and indirect block indexing, and how sparse files make such rapid copies possible.
InodeLinuxcp command
0 likes · 11 min read

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.
Inodecp commandfile-system
0 likes · 12 min read
