A stacked file system and its loading method and upgrading method
A file system and root file system technology, applied in the field of stacking file systems and upgrading of stacking file systems, can solve the problems of complicated versions, difficult to maintain, and inconvenient data backup, so as to improve scalability and ease of maintenance, Easy to configure and enhance the effect of convenience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] see figure 1 As shown, the embodiment of the present invention provides a stacked file system, which is applicable to the Linux software platform, and is used to realize the modularization of root files, facilitate configuration, and improve the scalability and ease of maintenance of applications or products. The stacked file system in the embodiment of the present invention specifically includes a root file system, at least one patched root file system, and at least one user file system.
[0037] The root file system is the original file system released. The original file system is a complete and independently usable file system, that is, a general root file system, which is equivalent to the general basic version, and is used to realize the basis of the system root file system. , is standard and unified, can meet most of the needs, and does not involve specific scenarios and businesses.
[0038] The patched root file system is a patched file system and exists in the ...
Embodiment 2
[0044] On the basis of Embodiment 1, the files contained in the user file system are files that are different from the root file system based on preset business requirements, which is equivalent to files that only need to be changed on the root file system, making full use of the root file The original content of the system avoids repeated occupation of storage space and reduces the error rate of upgrades.
[0045]The file system mounting configuration table is also used to record the physical storage location, hierarchical relationship, and mounting sequence of the file system, and may also include the file type of the file system, mounting parameters, and dependencies between file systems. When the operating system starts, mount the corresponding file system according to the records in the file system mount configuration table. The file system refers to the root file system, the patch root file system and the user file system.
Embodiment 3
[0047] see figure 2 As shown, the embodiment of the present invention provides a method for loading a stacked file system, which is used to load the stacked file system described in Embodiment 1, including the following steps:
[0048] S1: Start the operating system kernel, load the root file system, read the file system mounting configuration table, and judge whether there is a patch root file system that needs to be mounted. If there is, go to S2, otherwise, go to S3;
[0049] S2: Mount the patch root file system to be mounted in a stacked manner, and transfer to S3; when there are multiple patch root file systems to be mounted, the multiple patch root file systems are mounted in sequence, and the previous After success, proceed to the next mount.
[0050] S3: Read the file system mount configuration table to determine whether there is a user file system that needs to be mounted, if so, go to S4, otherwise, end;
[0051] S4: Mount the user file system to be mounted in sta...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


