Tagged articles
79 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Mar 30, 2026 · Fundamentals

Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture

This article explains the core philosophy of Linux’s “everything is a file” design, walks through the kernel’s VFS layer, inode, dentry, superblock, logical blocks, and specific file systems, and provides hands‑on examples—including procfs initialization and read/write code—to help readers master Linux kernel file system internals.

Operating Systemfile systeminode
0 likes · 45 min read
Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture
Linux Tech Enthusiast
Linux Tech Enthusiast
Feb 25, 2026 · Fundamentals

How Linux File Systems and Disk I/O Work

The article explains Linux's core storage components—inode, dentry, superblock, and logical blocks—how the Virtual File System abstracts different file systems, the classification of file systems and I/O types, disk technologies, the block layer, I/O schedulers, and practical performance metrics and monitoring tools.

Disk I/OI/O schedulerPerformance Monitoring
0 likes · 20 min read
How Linux File Systems and Disk I/O Work
Deepin Linux
Deepin Linux
Feb 8, 2026 · Fundamentals

Unlocking Linux Kernel File Systems: From Inodes to VFS and ProcFS Explained

This comprehensive guide explores the Linux kernel file system architecture, covering fundamental concepts such as inodes, dentries, superblocks, logical blocks, the VFS layer, common on‑disk filesystems, mounting procedures, and a deep dive into the proc virtual filesystem with code examples and practical usage tips.

Operating Systemfile systeminode
0 likes · 39 min read
Unlocking Linux Kernel File Systems: From Inodes to VFS and ProcFS Explained
ITPUB
ITPUB
Jan 13, 2026 · Fundamentals

Unlocking Linux Ext2: From Superblock Basics to Inode Data Extraction

This article walks readers through Linux file‑system fundamentals, explains the role of the Virtual File System (VFS), dives deep into ext2 structures such as superblocks, group descriptors, block and inode bitmaps, and provides complete C code for reading file contents directly by inode number.

C programmingExt2Superblock
0 likes · 29 min read
Unlocking Linux Ext2: From Superblock Basics to Inode Data Extraction
dbaplus Community
dbaplus Community
Dec 4, 2025 · Fundamentals

Exploring Linux Filesystems: VFS, ext2 Superblock, and Inode Access

This article guides readers through Linux file system fundamentals, explaining the role of the virtual file system (VFS), detailed structures of the ext2 superblock, group descriptors, block and inode bitmaps, and provides C code examples for extracting and reading file data directly via inode numbers.

C programmingDisk LayoutExt2
0 likes · 27 min read
Exploring Linux Filesystems: VFS, ext2 Superblock, and Inode Access
MaGe Linux Operations
MaGe Linux Operations
Dec 2, 2025 · Fundamentals

Why Your Disk Shows Free Space but Files Won’t Write: Mastering Inodes

The article explains how inode exhaustion on Linux filesystems can cause "No space left on device" errors despite available disk space, details inode structure and allocation, provides step‑by‑step diagnostics, monitoring scripts, best‑practice recommendations, and recovery procedures to prevent and resolve inode‑related issues.

Filesystemdisk spaceinode
0 likes · 28 min read
Why Your Disk Shows Free Space but Files Won’t Write: Mastering Inodes
Deepin Linux
Deepin Linux
Jul 6, 2025 · Fundamentals

Unlocking ext4 Extents: How Linux Filesystems Boost Performance

This article explores the evolution, design, and inner workings of the ext4 extent mechanism in Linux, detailing how it replaces traditional block mapping, improves storage efficiency, reduces fragmentation, and accelerates file I/O through compact data structures and B+‑tree indexing.

B+TreeExtentFilesystem
0 likes · 18 min read
Unlocking ext4 Extents: How Linux Filesystems Boost Performance
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.

Log ManagementSystem Administrationfile system
0 likes · 9 min read
Understanding Linux Inodes, File Operations, and Log Management
Liangxu Linux
Liangxu Linux
Jun 2, 2025 · Fundamentals

Master Linux Inodes, Links, File Recovery, and Log Analysis

This guide explains Linux filesystem fundamentals—including inode structure, block allocation, hard and soft links, methods for recovering deleted EXT and XFS files, and practical techniques for analyzing system and application log files using common commands and tools.

File Recoveryinodelog analysis
0 likes · 12 min read
Master Linux Inodes, Links, File Recovery, and Log Analysis
MaGe Linux Operations
MaGe Linux Operations
Oct 17, 2024 · Fundamentals

Understanding Linux Inodes, File Operations, and System Logging

This article explains the Linux inode structure, how common commands like cp, rm, and mv interact with inodes, the differences between hard and soft links, and provides a detailed overview of system and user log files, log levels, and configuring a centralized rsyslog server.

Operating Systemcommand-linefile system
0 likes · 9 min read
Understanding Linux Inodes, File Operations, and System Logging
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.

BitmapExt2block allocation
0 likes · 10 min read
Designing a Simple File System with Blocks, Bitmaps, Inodes, and Directories
21CTO
21CTO
Feb 4, 2024 · Fundamentals

Why Linus Torvalds Declares the Inode Era Over in Linux 6.8‑rc2

In the Linux 6.8‑rc2 release, Linus Torvalds sharply criticized the continued focus on inode numbers, arguing that the inode concept is outdated, while also highlighting new kernel bugs and urging the community to intensify testing and collaboration for a more stable release.

File Systemsinodeopen source
0 likes · 7 min read
Why Linus Torvalds Declares the Inode Era Over in Linux 6.8‑rc2
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.

OpenSourceSoftwareEngineeringinode
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.

OpenSourceSoftwareEngineeringinode
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.

FilesystemXFSinode
0 likes · 12 min read
XFS Deep Dive: Layout, Inode Management, and Read/Write Operations
Liangxu Linux
Liangxu Linux
Feb 9, 2023 · Fundamentals

How Linux’s Virtual File System Turns Everything Into a File

The article explains Linux’s Virtual File System (VFS) as an interface layer that treats all objects as files, illustrates the concept with Java‑style interface examples, then details the underlying C structures—file, file_operations, dentry, inode—and shows how the kernel links them to enable diverse file systems.

CDentryinode
0 likes · 10 min read
How Linux’s Virtual File System Turns Everything Into a File
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.

block indexingcp commandfile system
0 likes · 12 min read
Understanding Sparse Files and Why cp Can Copy a 100 GB File Instantly on Linux
MaGe Linux Operations
MaGe Linux Operations
Dec 19, 2022 · Fundamentals

What Happens When You Delete an In‑Use File on Linux?

This article investigates Linux's handling of files that are in use—whether opened for reading, running as executables, or loaded as shared libraries—by experimenting with deletion, replacement, and modification, revealing how the kernel preserves file contents via inode references until all processes release them.

Shared LibrarySystem Callfile deletion
0 likes · 16 min read
What Happens When You Delete an In‑Use File on Linux?
Liangxu Linux
Liangxu Linux
Jun 26, 2022 · Fundamentals

Master Linux Basic I/O: Files, Descriptors, System Calls and Libraries

This guide explains Linux file I/O fundamentals, covering file concepts, standard streams, system calls like open and dup2, file descriptor allocation, redirection, the FILE structure, inode layout, hard and soft links, and the creation and usage of static and dynamic libraries, all illustrated with code snippets and diagrams.

Dynamic Libraryfile I/Ofile-descriptors
0 likes · 22 min read
Master Linux Basic I/O: Files, Descriptors, System Calls and Libraries
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.

block indexingcp commandfile system
0 likes · 11 min read
Understanding Sparse Files and Inode Block Indexing in Linux File Systems
Liangxu Linux
Liangxu Linux
Apr 28, 2022 · Fundamentals

What Is an Inode? Understanding Linux File Metadata and Links

This article explains the concept of inodes in Unix/Linux filesystems, detailing their structure, stored metadata, size calculations, inode numbers, directory handling, hard and soft links, and the special behaviors that arise from separating file names from inode identifiers.

FilesystemHard Linkinode
0 likes · 9 min read
What Is an Inode? Understanding Linux File Metadata and Links
Open Source Linux
Open Source Linux
Jan 28, 2022 · Fundamentals

Why Disk Space Stays Full After Deleting Files? Inside Linux VFS and Inodes

Even when a Linux system reports a full disk, deleted files may still occupy space because active processes keep them open; using commands like df, du, and lsof reveals hidden usage, and understanding the virtual file system, inode structures, and link management explains how to release the space.

Filesystem Fundamentalsdisk spacefile system
0 likes · 11 min read
Why Disk Space Stays Full After Deleting Files? Inside Linux VFS and Inodes
Liangxu Linux
Liangxu Linux
Jan 24, 2022 · Fundamentals

Why Does Disk Space Appear Full Even When Files Are Deleted? Understanding Linux VFS

The article explains why Linux can report a full disk despite apparent free space, showing how deleted files held open by processes keep their blocks allocated, and walks through using df, du, and lsof to identify the issue, then details the virtual file system architecture, inode handling, and file‑deletion mechanics.

disk spaceinodelsof
0 likes · 12 min read
Why Does Disk Space Appear Full Even When Files Are Deleted? Understanding Linux VFS
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.

disk spacefile systeminode
0 likes · 12 min read
Why Does Disk Space Vanish? Uncovering Linux’s VFS and File Deletion Mysteries
ELab Team
ELab Team
Dec 31, 2021 · Fundamentals

Mastering Inodes, Hard & Soft Links: From Linux to Frontend Tooling

This article explains the fundamentals of inodes, sectors, and blocks, demonstrates how to retrieve file information with Node.js and Linux commands, compares hard and soft links, and shows practical applications of these links in frontend workflows such as yarn link and pnpm installation.

FilesystemFrontend toolingHard Link
0 likes · 14 min read
Mastering Inodes, Hard & Soft Links: From Linux to Frontend Tooling
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.

I/OOperating SystemZFS
0 likes · 16 min read
Linux I/O and File System Principles: A Comprehensive Technical Guide
Java High-Performance Architecture
Java High-Performance Architecture
Oct 25, 2021 · Fundamentals

Why cp Copies a 100GB File Instantly: Sparse Files & Inode Indexing Explained

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.

Storage Fundamentalsblock indexingcp command
0 likes · 12 min read
Why cp Copies a 100GB File Instantly: Sparse Files & Inode Indexing Explained
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 systeminodestorage
0 likes · 11 min read
Why cp Copies a 100GB File Instantly: Sparse Files and Inode Basics
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.

Storage Fundamentalscp commandfile system
0 likes · 12 min read
Why Does cp Copy a 100 GB Sparse File in Under a Second?
Liangxu Linux
Liangxu Linux
Jul 26, 2021 · Fundamentals

When and How to Use Linux Hard Links and Symbolic Links Effectively

This guide explains Linux inode basics, the differences between hard and symbolic links, their creation commands, limitations, and practical scenarios such as version switching, library management, shortcuts, file classification, shared editing, and space‑efficient backups.

FilesystemHard LinkSymbolic Link
0 likes · 13 min read
When and How to Use Linux Hard Links and Symbolic Links Effectively
Liangxu Linux
Liangxu Linux
Jun 2, 2021 · Fundamentals

What Really Happens When You Use ln, mv, and cp on Linux?

This article demystifies the three common Linux commands—ln, mv, and cp—explaining how they differ in handling inodes, dirents, and data blocks, when they create links or move files, and why their performance varies across file systems and file types.

Hard Linkcpfile system
0 likes · 16 min read
What Really Happens When You Use ln, mv, and cp on Linux?
Liangxu Linux
Liangxu Linux
Apr 14, 2021 · Fundamentals

Designing a Simple Ext2‑Like File System from Scratch

This tutorial walks through building a tiny 1 MB file system using 1 KB blocks, block bitmaps, 128‑byte inodes, superblocks, directory structures, and single‑ and double‑indirect indexing, culminating in a design comparable to Linux's ext2 filesystem.

Ext2Operating Systemsblock bitmap
0 likes · 13 min read
Designing a Simple Ext2‑Like File System from Scratch
Liangxu Linux
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.

Sparse Filescpext4
0 likes · 40 min read
Why cp Copies a 100 GB File in <1 s: The Sparse File Secret
Liangxu Linux
Liangxu Linux
Jan 1, 2021 · Fundamentals

Why du and df Show Different Disk Usage: Deep Dive into Linux File System Mechanics

The article explains why Linux’s du and df commands often report inconsistent disk usage, detailing the underlying file‑system structures such as inodes, block maps, and superblocks, the processes of file creation and deletion, and how mounted partitions, open file handles, and stat calls affect each tool’s calculations.

dfdisk usagedu
0 likes · 12 min read
Why du and df Show Different Disk Usage: Deep Dive into Linux File System Mechanics
Liangxu Linux
Liangxu Linux
Nov 7, 2020 · Fundamentals

How Linux ext4 Manages Files, Inodes, and Caching Internally

This article explains the design of Linux file systems, focusing on ext4's inode layout, block allocation, extents, directory storage, journaling modes, and the kernel's cached and direct I/O paths, complete with code snippets and structural diagrams.

ext4file systeminode
0 likes · 21 min read
How Linux ext4 Manages Files, Inodes, and Caching Internally
ITPUB
ITPUB
Nov 4, 2020 · Operations

Understanding Linux ext4 File System: Inodes, Extents, and Caching Mechanisms

This article explains the core design of Linux file systems, covering strict organization, block and inode structures, ext4 formatting details such as extents and meta block groups, directory storage, journaling modes, and the kernel's cached and direct I/O paths for reading and writing files.

ext4extentsinode
0 likes · 21 min read
Understanding Linux ext4 File System: Inodes, Extents, and Caching Mechanisms
Liangxu Linux
Liangxu Linux
Nov 2, 2020 · Fundamentals

Understanding Linux ext4: Inodes, Extents, and File Caching Explained

This article explains the core design of Linux file systems, covering strict organization, block allocation, inode structures, ext4 extent trees, block groups, superblock metadata, directory storage formats, and the kernel's cached and direct I/O paths for reading and writing files.

Filesystemext4inode
0 likes · 21 min read
Understanding Linux ext4: Inodes, Extents, and File Caching Explained
Efficient Ops
Efficient Ops
Sep 23, 2020 · Fundamentals

Why Deleted Files Still Occupy Disk Space? A Deep Dive into Linux VFS

The article explains why a Linux system may report a full disk even after deleting files, detailing how open file handles keep space occupied, and walks through the virtual file system architecture—including superblocks, inodes, file and dentry objects—while demonstrating diagnostic commands like df, du, lsof, and illustrating link types and file‑process interactions.

dfdisk spacedu
0 likes · 11 min read
Why Deleted Files Still Occupy Disk Space? A Deep Dive into Linux VFS
Liangxu Linux
Liangxu Linux
Jun 30, 2020 · Operations

Why Deleting a Linux File Doesn’t Free Space – and How to Recover It

This guide shows how a file can appear deleted on Linux yet still occupy disk space, explains the inode reference‑count mechanism, demonstrates how to reproduce the issue with dd and a C program, and provides commands like lsof and /proc inspection to locate and release such hidden usage.

C programmingdisk spacefile system
0 likes · 6 min read
Why Deleting a Linux File Doesn’t Free Space – and How to Recover It
Open Source Linux
Open Source Linux
Jun 15, 2020 · Fundamentals

Why Deleting a File on Linux Doesn’t Always Free Disk Space

This article explains how Linux file deletion works, why space may not be released when a file is removed, and shows practical commands and a C example to illustrate inode reference counting, using tools like df, dd, lsof, and proper file‑descriptor handling.

c-programdddisk space
0 likes · 7 min read
Why Deleting a File on Linux Doesn’t Always Free Disk Space
Architects' Tech Alliance
Architects' Tech Alliance
Apr 11, 2020 · Fundamentals

Understanding Linux File System Architecture and Mounting Process

This article explains the layered architecture of Linux file systems, how generic API calls like read operate across different storage media, demonstrates creating and mounting loop‑back file systems with dd, losetup, mke2fs and mount commands, and details the core VFS structures such as superblock, inode, dentry and buffer cache.

MountSuperblockinode
0 likes · 12 min read
Understanding Linux File System Architecture and Mounting Process
Open Source Linux
Open Source Linux
Apr 1, 2020 · Fundamentals

What Is an inode? Uncover the Hidden Structure Behind Linux Files

This article explains the concept of inodes, their contents, size, numbering, relationship with directories, hard and soft links, special behaviors in Unix/Linux, and provides a real‑world troubleshooting example for inode exhaustion.

Filesystem FundamentalsHard Linkfile system
0 likes · 11 min read
What Is an inode? Uncover the Hidden Structure Behind Linux Files
ITPUB
ITPUB
Jan 10, 2020 · Fundamentals

Understanding Inodes: How Unix/Linux Stores File Metadata

This article explains Unix/Linux inodes—the metadata structures that store file information—covering their purpose, contents, size considerations, inode numbers, directory handling, hard and soft links, and special inode-related operations, with practical command examples and visual illustrations.

Hard LinkUnixfile system
0 likes · 10 min read
Understanding Inodes: How Unix/Linux Stores File Metadata
Efficient Ops
Efficient Ops
Jul 26, 2018 · Fundamentals

Understanding Linux EXT Filesystems: From EXT2 to EXT4 and Their Core Features

This article explores the evolution, architecture, and key features of Linux EXT filesystems—including Minix origins, EXT2, EXT3, and EXT4—detailing metadata structures, inode handling, fragmentation mitigation, journaling, and practical upgrade and maintenance considerations.

File System ArchitectureFilesystemext4
0 likes · 20 min read
Understanding Linux EXT Filesystems: From EXT2 to EXT4 and Their Core Features
MaGe Linux Operations
MaGe Linux Operations
Feb 5, 2018 · Operations

6 Common Linux Ops Issues and How to Fix Them Quickly

This article presents a systematic troubleshooting workflow for Linux operations engineers, covering six typical problems—including filesystem corruption, disk‑space exhaustion, inode depletion, deleted files that still occupy space, too many open files, and read‑only filesystems—along with concrete commands and solutions to resolve each issue.

FilesystemOperationsdisk space
0 likes · 13 min read
6 Common Linux Ops Issues and How to Fix Them Quickly
MaGe Linux Operations
MaGe Linux Operations
Jul 21, 2017 · Operations

Master Linux Troubleshooting: 9 Common Errors and Their Fixes

This guide walks you through a systematic approach to diagnosing and resolving nine frequent Linux system problems—from read‑only file systems and argument‑list limits to inode exhaustion, space‑not‑released files, too many open files, and Apache startup failures—providing clear command‑line solutions for each.

Error Handlingfsckinode
0 likes · 18 min read
Master Linux Troubleshooting: 9 Common Errors and Their Fixes