• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Why is Inode Used in Linux

By Abhishek Ghosh November 24, 2023 7:40 am Updated on November 24, 2023

Why is Inode Used in Linux

Advertisement

An index node is the basic data structure used to manage file systems running Unix-like operating systems. Each inode is uniquely identified within a file system by its inode number. Each name entry in a directory refers to exactly one inode. This contains the metadata of the file and refers to the data of the file or the file list of the directory.

The application software no longer distinguishes between device drivers and regular files when reading or writing data. Due to the inode concept, everything is considered a file in the Unix variants. As a result, such operating systems differ in the management of their data storage from other systems such as Windows with NTFS, but also from VMS or MVS.

If you save a file on a computer, not only the file content (payload) must be stored, but also metadata such as the time the file was created or the owner of the file. At the same time, the computer must be able to efficiently assign the corresponding payload and metadata to a file name – including the file path. The specification of how this data is organized and stored on disk is called the file system. Depending on the area of application and operating system, there are different file systems. The file system specification is implemented by a driver, which can be implemented either as a kernel module of the operating system kernel or, more rarely, as an ordinary program in userspace.

Advertisement

---

Why is Inode Used in Linux

 

Rough Structure of the Unix File System

 

File systems of Unixoid operating systems – such as Linux and macOS – use so-called inodes. These contain the metadata as well as references to where payloads are stored. In turn, a special location of the file system, the superblock, stores the size, number and location of the inodes. The inodes are numbered consecutively and stored in one piece on the data carrier. The root directory of a file system has a fixed inode number. Subfolders are “ordinary” files that contain a list of the files contained in them with the assignment of the corresponding inode numbers as payloads.

So, for example, if you want to open the file /bin/ls, this is how it works, simplified, as follows:

  • The file system driver reads the superblock. This tells him the starting position of the inodes and their length.
  • This means that any inode can now be found and read.
  • Now the inode of the root directory is opened. Since this is a folder, it contains a reference to the location of the list of all the files it contains, along with their inode numbers. In it, the directory bin is searched.
  • Now the inode of the bin directory can be read and found analogous to the last step of the inode of the file ls.
    Since the ls file is not a directory but a regular file, its inode now contains a reference to the location of the desired data.

 

Construction

 

Each individual name bounded by a slash has exactly one inode associated with it. This stores the following meta information about the file, but not the actual name:

  • The type of file (regular file, directory, symbolic link, …);
    the numerical identifier of the owner (UID, user id) and the group id (GID, group id); the access rights for the user, the group and all others;
  • The classic user and rights management is done with the programs (change owner), (change group) and (change mode). Access Control Lists (ACL) allow for a finer assignment of rights. See chown chgrp chmod
    different points in time of the file: creation, access time and modification time);
  • the time of the last status change of the inode (status, ctime);
  • the size of the file;
  • the link counter (see below);
  • one or more references to the blocks where the actual data is stored.
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Why is Inode Used in Linux

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Metadata : Basics on Metadata

    Metadata is data about data. Metadata is data that contains information about other data such as documents, books, databases or files. A Webpage is a document where metadata is used in various ways. Apart from description and title, metadata describes characteristics of an object including date of publication, authors name etc.   Basic Concept of […]

  • Theoretical Foundations of Big Data : Part 3

    Theoretical Foundations of Big Data is third and final part of our series of articles. We have talked about Data Mining, OLAP & softwares.

  • Command Prompt Commands : Alphabetical list of all commands in Windows 7

    Command Prompt Commands in Windows 7 provides the user access to 180+ command line commands. Here is a list of 200 Command Prompt Commands in Windows 7.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

vpsdime

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cloud-Powered Play: How Streaming Tech is Reshaping Online GamesSeptember 3, 2025
  • How to Use Transcribed Texts for MarketingAugust 14, 2025
  • nRF7002 DK vs ESP32 – A Technical Comparison for Wireless IoT DesignJune 18, 2025
  • Principles of Non-Invasive Blood Glucose Measurement By Near Infrared (NIR)June 11, 2025
  • Continuous Non-Invasive Blood Glucose Measurements: Present Situation (May 2025)May 23, 2025
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2026 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy