Linux0.11 source code analysis-File System Management Analysis (I)

Source: Internet
Author: User

File System Analysis (I)

The file system of linux0.11 mainly uses the minix1.0 file system, which can manage 64 MB hard disk space in total

Files in Unix-like systems are classified into six types: Regular files, directories, super connections (symbolic connections), and pipelines (mainly used for process communication), character device, block device (the device exists as a file in Linux)

The main layout of the file system of linux0.11 (physical layout): boot block, super block, I node bitmap, logical block bitmap, I node, and data disk are fast.

The Logical Block bitmap reflects the usage of the physical hard disk, and the I-node bitmap reflects the number of files.

The ing between the I node and the logical block is also the focus.

There are two structures to be clear: the super block structure and the I node structure. Of course, they specify some parameters of the file system, such as the maximum file length, and some file read/write marks and file usage.

Functions mainly involve high-speed buffering, high-level access to files, and underlying access to files (mainly related to drivers)

 

The file system is a complicated version. The kernel code of the later version may differ greatly from that of version 0.11. VFS is used. The structure of linux0.11 (minix1.0) is mainly studied here.

The design of this file system is concise and easy to learn.

 

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.