- Learn Linux Quickly
- Ahmed AlKabary
- 186字
- 2021-06-11 18:43:52
File inodes
When you go to a grocery store, you will find that each product has a set of attributes like:
- Product type: Chocolate
- Product price: $2.50
- Product supplier: Kit Kat
- Amount left: 199
These attributes can be displayed on any product in the grocery store by scanning the product's barcode. And each barcode is unique, of course. Well, you can apply this analogy to Linux. Every file on Linux has a set of attributes like:
- File type
- File size
- File owner
- File permissions
- Number of hard links
- File timestamp
These attributes are stored in a data structure called the inode (index node), and each inode is identified by a number (inode number). So you can think of inode numbers like the barcodes in a grocery store. Every file in Linux has an inode number and every inode number points to a file data structure, that is, the inode. And here is a formal definition of an inode:
What is an Inode?
An inode is simply a file data structure that stores file information (attributes), and every inode is uniquely identified by a number (inode number).
- SQL Server 從入門到項目實踐(超值版)
- Oracle從入門到精通(第3版)
- 解構產品經理:互聯網產品策劃入門寶典
- Python入門很簡單
- HTML5+CSS3基礎開發教程(第2版)
- C語言程序設計
- Protocol-Oriented Programming with Swift
- TMS320LF240x芯片原理、設計及應用
- 軟件測試綜合技術
- Apache Camel Developer's Cookbook
- OpenStack Networking Essentials
- Solutions Architect's Handbook
- C指針原理揭秘:基于底層實現機制
- Windows Phone 8 Game Development
- Hacking Android