Try GOLD - Free
An Introduction to Inodes
Open Source For You
|May 2025
Understanding inodes can be invaluable for troubleshooting disk-space issues, optimising filesystem performance, and recovering deleted files.
-
An inode (short for 'index node') is the link between a file name and its physical location on a storage device. In the UNIX and Linux operating systems, inodes are data structures used to hold metadata about files and directories. A filesystem is how an operating system organises and stores files on a storage device. Each filesystem on the computer has its own separate set of inodes. In short, each filesystem mounted on a computer has its inodes, which are stored in a common table. An inode number can be used more than once but not by the same filesystem. The filesystem ID is paired with the inode number to create a unique identification label.
When a filesystem is created, a fixed number of inodes is created. Typically, approximately 1% of the filesystem disk space is allocated to the inode table. Each file and directory in a filesystem is assigned a unique inode, which is identifiable by an integer known as the inode number. A filesystem is typically separated into inodes and data blocks.
The directory is implemented as a table that maps the filenames to inode numbers. Every file in a directory table is an entry with a filename and inode numbers. All other information about the file is obtained by referencing the inode number in the inode table. When a file is opened, the operating system uses the inode’s pointers to navigate through the disk and retrieve the file content from its physical location. This process is seamless for users but relies heavily on these ‘directions’ stored in the inodes.
File size: This is the size of the file in bytes.
Ownership: The file owner and the group are determined by their user ID (UID) and group ID (GID).
Permissions: Read, write, and execute permissions for the file define access control.
Timestamps: Inodes record timestamps that provide modification (mtime), last access (atime), and inode change times (ctime).
This story is from the May 2025 edition of Open Source For You.
Subscribe to Magzter GOLD to access thousands of curated premium stories, and 10,000+ magazines and newspapers.
Already a subscriber? Sign In
MORE STORIES FROM Open Source For You
Open Source For You
Why Decentralised Identity is the Security Bedrock for Agentic AI
As AI agents begin to act on behalf of executives (signing contracts, moving funds), how do we verify their identity? In the framework proposed here, open source decentralised identifiers act as the 'passport' for AI agents, ensuring every autonomous action is cryptographically signed and authorised.
6 mins
May 2026
Open Source For You
Why Blockchain Development Rides on Open Source
The blockchain has moved from cryptocurrencies to widespread applications in industries like healthcare and supply chain management. Find out why it owes its evolution to open source.
5 mins
May 2026
Open Source For You
How AI is Transforming Air Travel Operations
From smarter flight planning to personalised airport experience, AI is changing how we fly, often behind the scenes, but with a big impact you can feel.
8 mins
May 2026
Open Source For You
Cloudflare open sources Pipit to democratise large AI models
Cloudflare has open sourced Project Pipit, releasing a lossless compression tool that could fundamentally reshape how large language models are distributed and deployed.
1 min
May 2026
Open Source For You
Cysic's Venus could reduce ZK-rollup costs
Cysic has released Venus as open source code, unveiling a hardwareoptimised proving backend for the open source Zisk zkVM that could significantly reduce zeroknowledge rollup costs and make ZK-based Ethereum layer-2 networks price-competitive with optimistic rollups.
1 min
May 2026
Open Source For You
NVIDIA launches Ising, the world's first quantum AI model family
NVIDIA has unveiled Ising, the world's first family of open source quantum AI models, positioning open source AI as the control layer for fault-tolerant quantum computing infrastructure.
1 min
May 2026
Open Source For You
Chinese researchers cut bamboo drone control latency with open source flight controller
A research team from Northwestern Polytechnical University's School of Civil Aviation in China has released what it describes as the world's first open source flight control system for bamboo-frame drones, making the software freely available to accelerate the development of low-cost, ecofriendly UAVs.
1 min
May 2026
Open Source For You
Managing Blockchain Node Infrastructure with Kubernetes
As blockchains increase exponentially in size, managing them is a challenge. Kubernetes and containerisation are essential components of new age blockchain infrastructure management.
7 mins
May 2026
Open Source For You
FossID's Agentic SCA brings checks into AI coding
FossID has unveiled Agentic SCA, a new software composition analysis layer purpose-built for AI-driven software development, marking a major shift in how open source compliance is enforced within modern coding workflows.
1 min
May 2026
Open Source For You
India hits 27M on GitHub
With more than 27 million developers on GitHub, India is the world's fastest-growing developer hub and is reinforcing its leadership in global open source innovation.
1 min
May 2026
Listen
Translate
Change font size

