Prøve GULL - Gratis
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).
Denne historien er fra May 2025-utgaven av Open Source For You.
Abonner på Magzter GOLD for å få tilgang til tusenvis av kuraterte premiumhistorier og over 9000 magasiner og aviser.
Allerede abonnent? Logg på
FLERE HISTORIER FRA Open Source For You

Open Source For You
A Simple System that Uses Duplicati for Backing Up Data
The open source based data backup system outlined here can be really useful for a small office home office setup. Learn how to set up Duplicati on Windows, back up data to a Linux server, schedule daily backups, secure them with encryption, restore files when needed, and receive email notifications.
9 mins
August 2025
Open Source For You
Lisp for Robotics: Implementing Graph Traversal
Created in 1959 by John McCarthy, Lisp is a programming language designed to manipulate symbolic data easily, which is a key characteristic of AI. This language is still used for prototyping and to demonstrate different AI concepts. Here's a short tutorial on how it can help to implement three graph traversal algorithms.
5 mins
August 2025
Open Source For You
LibreOffice 25.2.5 is stable and reliable after 63 bug fixes
The Document Foundation has officially released LibreOffice 25.2.5, the fifth maintenance update in the LibreOffice 25.2 series.
1 min
August 2025

Open Source For You
The Evolution of PostgreSQL in the Age of AI
PostgreSQL, enhanced with the pgvector extension, brings semantic search capabilities into a traditional SQL environment. With support for both structured queries and Al-driven search, pgvector enables developers to build intelligent, cost-effective applications within a familiar ecosystem, positioning PostgreSQL as a future-ready, Al-native database. Let's learn more....
5 mins
August 2025

Open Source For You
Calico: Open source platform for Kubernetes networking, security, and observability is in version 3.30
Calico is an open source, unified platform that integrates networking, security, and observability for Kubernetes environments—whether deployed in the cloud, on-premises, or at the edge.
1 min
August 2025

Open Source For You
Red Hat launches RHEL for Business Developers
Red Hat has announced Red Hat Enterprise Linux for Business Developers, a new self-service offering aimed at simplifying access to its flagship enterprise Linux platform for development and testing.
1 min
August 2025

Open Source For You
Data Governance in the Digital Era: An Overview
Data governance plays a critical role in ensuring effective data management in an organisation. Businesses who invest in it are at a definite advantage over those who don't.
7 mins
August 2025

Open Source For You
Shape the Success of Your Business with Smart Data Management and Security Practices
In today's world, data is a company's best asset, if used well. Also, data management and data security are no longer merely good business practices - they are critical to the success of an organisation.
6 mins
August 2025
Open Source For You
Wireshark 4.4.8 comes with updated protocol support and key bug fixes
The Wireshark team has announced the release of Wireshark 4.4.8, the eighth maintenance update in the 4.4 stable series of the world's most popular open source network protocol analyser.
1 min
August 2025

Open Source For You
HealSphere: An Open Source-Based Mental Health Support Platform
This real-world CI/CD implementation has been developed using open source tools to deploy a modular mental health support platform.
11 mins
August 2025
Listen
Translate
Change font size