Construction method of multi-container root file system

A technology of root file system and construction method, applied in the field of Linux systems, can solve problems such as hidden security risks, occupy more space, and fail to perform security startup checks, and achieve the effect of avoiding security problems and saving startup time.

Active Publication Date: 2020-07-03
CHENGDU TD TECH LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013]1. First of all, there is a security problem. According to the current open source code, there is no security boot check in the process of switching to the root directory of the new partition through switch_root. Therefore, security There are hidden dangers in sex; and if the security boot check is added, the LXC open sour

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Construction method of multi-container root file system
  • Construction method of multi-container root file system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] In order to make the purpose, technical means, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings.

[0026] In the construction of the multi-container root file system in the background art, two partitions are set up for the root file system, one partition is used to store single system root file system files, and the other partition is used to store root file system files of multiple systems. The specific partition table is as follows figure 1 Shown. in figure 1 Among them, the kernel partition is used to store the root file system files of the Linux kernel and a single system; the rootfs partition is used to store the root system files of multiple systems; system represents the system partition, and vendor represents the vendor partition.

[0027] In this application, the above-mentioned partitioning scheme is improved. The root file system partition uses the same method as the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a construction method of a multi-container root file system. The construction method comprises the following steps: storing root file system files of a multi-system for realizing multiple containers in a root file system partition; wherein the ROOT system files of the multiple systems are stored in a newly created directory in a root file system partition; wherein the foreground system files of the multiple systems are stored in another newly created directory in the root file system partition, and the initialization init program under the directory where the ROOT systems of the multiple systems are located is loaded after specified equipment in system kernel codes is powered on. When the system is started, directly loading the system kernel and the ROOT system. Byapplying the method and the device, the LXC can be more efficiently utilized to create multiple systems.

Description

technical field [0001] This application relates to Linux system technology, in particular to a method for constructing a multi-container root file system. Background technique [0002] Linux Container (Linux Container, LXC) technology is an operating system-level virtualization technology that provides multiple independent Linux environments on a single Linux host. Containers use Linux kernel features such as namespaces, Apparmor, SELinux profiles, chroot, and CGroups to provide a VM-like isolated environment. [0003] In the current multi-container solution built using LXC technology, the general practice is to add an additional partition A in addition to the root file system partition of a single system to store the root file system files of multiple systems. Among them, the root file system files of multiple systems specifically include: the root file system of the ROOT system running in the background and the root system files of multiple corresponding foreground system...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/10G06F9/4401
CPCG06F9/4401
Inventor 廖红卫蒋兴张闯董庆民
Owner CHENGDU TD TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products