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

Implementation method of file system based on equipment mapping mechanism

A technology of file system and mapping mechanism, applied in the direction of file system, file system management, file access structure, etc., can solve problems such as user debugging and difficulty in use, and achieve the effect of meeting read-write requirements and saving space.

Pending Publication Date: 2021-03-30
北京君正集成电路股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The traditional Read-only file system is read-only (ro). The advantage of the read-only file system is better security, which can effectively protect the data of the file system and reduce the risk of file system damage, but the disadvantages are also obvious. Users cannot modify the data in the file system, which will cause difficulties for users to debug and use

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
  • Implementation method of file system based on equipment mapping mechanism
  • Implementation method of file system based on equipment mapping mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] At present, commonly used technical terms in this technical field include:

[0021] File system: The software organization responsible for managing and storing file information in the operating system is called a file management system, or file system for short.

[0022] Device mapper: It is a mapping framework mechanism from logical devices to physical devices provided in the Linux 2.6 kernel. Under this mechanism, users can easily formulate management strategies for realizing storage resources according to their own needs. Device mapper further embodies the principle of separation of policies and mechanisms in the design of the Linux kernel, and puts all policy-related work in user space to complete, and the kernel mainly provides the mechanisms required to complete these policies.

[0023] Read-only file system: read-only file system.

[0024] ro: The file / filesystem attribute is read-only.

[0025] rw: The file / filesystem attribute is read-write.

[0026] IMG is ...

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 provides a method for realizing a file system based on an equipment mapping mechanism, which comprises the following steps of: S1, setting a predetermined directory in a hardware partition, and installing a device mapper software package in the predetermined directory; S2, setting a read-only file system of which the file system attribute is ro; setting a readable and writable file;S3, calling an instruction in an equipment mapper software package to mount a readable-writable partition behind the read-only file system by utilizing the equipment mapper, wherein the readable-writable partition is used for storing the readable-writable file; and S4, obtaining a read-only file system with a read-write partition.

Description

technical field [0001] The invention relates to the field of computer operating systems, in particular to a method for realizing a file system based on a device mapping mechanism. Background technique [0002] With the continuous development of science and technology, especially the development of computer technology and the arrival of the era of big data technology, Devicemapper is more and more widely used. Device mapper is a mapping framework mechanism from logical devices to physical devices provided in the Linux 2.6 kernel. Under this mechanism, users can easily formulate and implement storage resource management strategies according to their own needs. Currently, the popular Linux Logical volume managers such as LVM2 (Linux Volume Manager2version), EVMS (Enterprise Volume Management System), dmraid (Device Mapper RaidTool), etc. are all implemented based on this mechanism. It provides a highly modular kernel architecture for implementing block device drivers for stora...

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/11G06F16/13
CPCG06F16/11G06F16/13
Inventor 唐鑫
Owner 北京君正集成电路股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products