Several concepts in the file system-general Linux technology-Linux programming and kernel information. The following is a detailed description. Linux treats all file systems from the perspective of a set of common objects. These objects are: Super block, inode, detry, and files.
Super block:
Describe and maintain the state of the file system on the root of each file system. A file system that contains the information required to manage the file system, including the name, size, and status of the file system, block device references, and metadata (such as the idle list ). It is usually stored on the storage media, but if the super block does not exist, you can also create it in real time.
Inode:
Each object (file or directory) managed in the file system is represented as an inode in Linux. Inode indicates an object in the file system, which has a unique identifier. Inode contains all the metadata required to manage objects in the file system (including operations that can be performed on objects ). Each file system provides a method to map a file name to a unique inode identifier and inode reference.
Detry:
It is used to map names and inode. A cache is used to save the recently used dentry. It also maintains the relationship between directories and files to support moving in the file system.
File:
Indicates an opened file (save the file opening status, such as the write offset)
Linux File System uses plug-in-based architecture and multi-layer indirect
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service