Linux File System

Source: Internet
Author: User

Linux File System composition

• Boot block

• Super Block

• Index node table

• Data blocks

Boot block: The bootloader used to host the file system, which is used to boot the system or boot the operating system

Super BLOCK: Used to describe the resource status of a Linux file system, including the size of the file system, the location information of the idle unit

Index node table: Below are

Data BLOCK: A disk block that holds data on disk, including catalog files and data

· Linux Index Node Table:

The Linux file system uses an index node to log file information, and the index node is a structure that contains information such as the length of a file, creation and modification times, permissions, affiliation, location on disk, and so on.

A file system maintains an array of index nodes, each of which corresponds to the only element in an array of index nodes.

The system assigns a number to each index node, which is the index number of the node in the array, called the index node number.

The Linux file system keeps the file index node number and filename in the directory at the same time

Therefore, the directory is simply a table that combines the file's index node number with the name of the file.

Each pair of file names and index nodes in the directory is called a connection

A unique index node number corresponding to a file

For an index node number, you can have more than one file name corresponding to it.

Therefore, the same file on the disk can be accessed through a different path.

Index node table is usually stored on disk

Read into memory when you need to do the work

In general, the table of index nodes stored on disk is called the Disk index node

The image in memory is called the Memory Index node table.

Linux File System

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.