Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 source code needs to be modified;
[0014]2. Secondly, the above solution needs to add a new partition A, which will take up more space, and the system upgrade process will become complicated, and the upgrade package will become larger;
[0015]3. Finally, an additional step is added during startup, so the startup time is further prolonged

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

Embodiment Construction

[0025] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be further described in detail below in conjunction with 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 root file system files of a single system, 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. exist figure 1 Among them, the kernel partition is used to store the Linux kernel and the root file system files of a single system; the rootfs partition is used to store the root system files of multiple systems; system means the system partition, and vendor means the vendor partition.

[0027] In this application, the above-mentioned partition scheme has been improved. The root file system partition adopt...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More