5 File Operation

Image 5.1 Install the File System

In Section 3.3.3, the operating system (OS) loads the root file system successfully, so that data can interact with the root device. Installing the file system means that the file system in the hard disk is loaded as the root file system, in order for the OS to interact data with the root device.

There are three steps to install the file system:

1. Read the super block from the hard disk and load it into super_block[8] in the system.

2. Read the specified i node from the Ramdisk and load it into inode_table[32] in the system.

3. Mount the super block of the hard disk into the specified i node of inode_table[32]. ...

Get The Art of Linux Kernel Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.