Tag

inode

0 views collected around this technical thread.

Raymond Ops
Raymond Ops
Jun 3, 2025 · Operations

Understanding Linux Inodes, File Operations, and Log Management

This article explains Linux inode table structure, how commands like ls, stat, cp, mv, and rm interact with inodes, compares hard and soft links, outlines common system log files and their formats, and demonstrates centralizing logs on a rsyslog server.

File SystemLinuxLog Management
0 likes · 9 min read
Understanding Linux Inodes, File Operations, and Log Management
Deepin Linux
Deepin Linux
Feb 20, 2025 · Fundamentals

Understanding Linux File Systems and the Virtual File System (VFS) Architecture

This article explains the design of Linux file systems, the role of inodes, data blocks, superblocks, and the Virtual File System layer that provides a unified interface for diverse storage back‑ends, detailing core structures, registration, mounting, and file operation workflows.

File SystemKernelLinux
0 likes · 51 min read
Understanding Linux File Systems and the Virtual File System (VFS) Architecture
IT Services Circle
IT Services Circle
Oct 15, 2024 · Fundamentals

Designing a Simple File System with Blocks, Bitmaps, Inodes, and Directories

This article walks through the step‑by‑step design of a simple file system on a 1 TB disk, introducing logical blocks, block bitmaps, inode structures, directory handling, indirect indexing, superblocks, and hierarchical file organization, while comparing the design to the classic ext2 filesystem.

BitMapFile Systemblock allocation
0 likes · 10 min read
Designing a Simple File System with Blocks, Bitmaps, Inodes, and Directories
Java Tech Enthusiast
Java Tech Enthusiast
Feb 10, 2024 · Fundamentals

Linus Torvalds Criticizes Inode Proposal and Calls Out Outdated File System Concepts

Linus Torvalds sharply rebuked a Google contributor’s inode proposal on the Linux kernel mailing list, calling the 1970s‑era inode concept an outdated relic that need not serve as a unique file‑system identifier, warning it adds unnecessary complexity and dismissing the submitted patch as garbage code.

File SystemKernelLinux
0 likes · 2 min read
Linus Torvalds Criticizes Inode Proposal and Calls Out Outdated File System Concepts
Java Tech Enthusiast
Java Tech Enthusiast
Feb 3, 2024 · Fundamentals

Linus Torvalds Criticizes Google Contributor Over Inode Usage

Linus Torvalds blasted a Google contributor’s proposal to make all file and directory inodes identical, calling the idea outdated, labeling the pull request as garbage, and urging that the inode concept be abandoned in favor of modern file‑system designs that no longer rely on unique identifiers.

KernelLinuxOpenSource
0 likes · 3 min read
Linus Torvalds Criticizes Google Contributor Over Inode Usage
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2024 · Fundamentals

Linus Torvalds Criticizes Google Contributor Over Inode Design

Linus Torvalds unleashed a rare, scathing rebuke on the Linux kernel mailing list, denouncing Google contributor Steven Rostedt’s inode‑related patch as “garbage code” and arguing that the legacy practice of treating inodes as mandatory unique identifiers is outdated and should be abandoned.

KernelLinuxOpenSource
0 likes · 2 min read
Linus Torvalds Criticizes Google Contributor Over Inode Design
Tencent Architect
Tencent Architect
Jan 23, 2024 · Fundamentals

XFS Deep Dive: Layout, Inode Management, and Read/Write Operations

This article analyzes the XFS filesystem implementation in the Linux kernel, covering its on‑disk layout, superblock and allocation‑group structures, inode and free‑space B+ trees, operation sets (iops, fops, aops), file creation, write and read paths, logging, block layer interactions, and useful XFS utilities.

KernelLinuxStorage
0 likes · 12 min read
XFS Deep Dive: Layout, Inode Management, and Read/Write Operations
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.

File SystemLinuxblock indexing
0 likes · 12 min read
Understanding Sparse Files and Why cp Can Copy a 100 GB File Instantly on Linux
Top Architect
Top Architect
Sep 2, 2022 · Fundamentals

Understanding Sparse Files and Multi‑Level Inode Indexing in Linux File Systems

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.

File SystemLinuxStorage
0 likes · 11 min read
Understanding Sparse Files and Multi‑Level Inode Indexing in Linux File Systems
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 SystemLinuxblock indexing
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.

CPLinuxblock indexing
0 likes · 11 min read
Why cp Can Copy a 100 GB File Instantly: Sparse Files and File System Mechanics
Efficient Ops
Efficient Ops
Jan 10, 2022 · Fundamentals

Why Does Disk Space Vanish? Uncovering Linux’s VFS and File Deletion Mysteries

Even when the `df` command shows a full disk, hidden deleted files held open by processes can consume space, and understanding this requires diving into Linux’s virtual file system architecture, including superblocks, inodes, file and dentry objects, as well as link types and file‑process interactions.

File SystemLinuxVFS
0 likes · 12 min read
Why Does Disk Space Vanish? Uncovering Linux’s VFS and File Deletion Mysteries
Tencent Cloud Developer
Tencent Cloud Developer
Nov 15, 2021 · Fundamentals

Linux I/O and File System Principles: A Comprehensive Technical Guide

The guide explains Linux’s unified VFS architecture, detailing how inodes and dentries map files to disk regions, describes superblock and data block layout, outlines ZFS’s pool, copy‑on‑write and ARC caching, covers block device types, I/O scheduling queues, and key performance metrics.

Block DeviceFile SystemI/O
0 likes · 16 min read
Linux I/O and File System Principles: A Comprehensive Technical Guide
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.

File SystemLinuxblock indexing
0 likes · 10 min read
Why cp Can Finish Instantly: Understanding Inodes, Block Indexing and Sparse Files
Efficient Ops
Efficient Ops
Oct 12, 2021 · Fundamentals

Why cp Copies a 100GB File Instantly: Sparse Files and Inode Basics

An unexpected fast copy of a 100 GB file using the cp command reveals the concept of sparse files, where the logical size differs from physical disk usage, and explains how file systems employ inodes, block allocation, and multi‑level indexing to manage storage efficiently.

File SystemLinuxStorage
0 likes · 11 min read
Why cp Copies a 100GB File Instantly: Sparse Files and Inode Basics
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 10, 2021 · Databases

Diagnosing MySQL Memory Exhaustion Caused by Slab Cache and Excessive Inodes

The article details a step‑by‑step investigation of a MySQL server that ran out of memory due to massive slab cache consumption by inode and dentry objects, showing how Linux commands, scripts, and cache‑dropping techniques resolved the issue and revealed the root cause of excessive partition tables.

DBADiagnosticsLinux
0 likes · 8 min read
Diagnosing MySQL Memory Exhaustion Caused by Slab Cache and Excessive Inodes
Ops Development Stories
Ops Development Stories
Jun 22, 2021 · Fundamentals

How Ext4 Stores Data: Inodes, Extents, and Directory Indexes Explained

This article explains how the ext4 file system organizes data using inodes, direct and indirect blocks, extents, and directory indexing, detailing the structures, code definitions, and performance implications for both small and large files.

Linuxdirectory-indexext4
0 likes · 13 min read
How Ext4 Stores Data: Inodes, Extents, and Directory Indexes Explained
Ops Development Stories
Ops Development Stories
Jun 18, 2021 · Fundamentals

How Do Disks Work? A Deep Dive into HDD, SSD, and Ext4 Filesystem Architecture

This article explains the physical and logical operation of mechanical hard drives and solid‑state drives, details the Ext4 filesystem structures such as superblocks, inodes, block groups, flexible and meta block groups, and outlines allocation strategies and link types.

HDDSSDStorage
0 likes · 13 min read
How Do Disks Work? A Deep Dive into HDD, SSD, and Ext4 Filesystem Architecture