Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing safe operation of file system

A file system and security operation technology, applied in the computer field, can solve problems such as the inability to support system file write operations, and achieve the effect of ensuring security

Active Publication Date: 2017-10-10
PRANUS BEIJING TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Currently, directories located in read-only partitions cannot support system write operations to their files

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
  • Method and device for realizing safe operation of file system
  • Method and device for realizing safe operation of file system
  • Method and device for realizing safe operation of file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In this invention, see figure 2 As shown, the disk 20 is divided into at least two partitions: a read-only partition 21 and a read-write partition 22 . After the Linux operating system is started and running, the read-only partition 21 is in the read-only state, and the read-write partition 22 is in the read-write state. In this way, the directories located in the read-only partition 21 can support read operations but not write operations, and the directories located in the read-write partition 22 can support both read operations and write operations. For example, files with high requirements for safe operation in the Linux file system can be stored in the read-only partition 21, such as, the etc directory under the root directory is stored in the read-only partition 21, so that the etc directory under the root directory only supports reading Operations do not support write operations, and the directories in the Linux file system that have low security requirements or...

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 embodiment of the invention discloses a method and a device for realizing safety operation of a file system. The method comprises the following steps: before an operating system is started, a first copy catalogue for a first source catalogue is established, wherein the first source catalogue is positioned in a read-only partition of a magnetic disk, and the first copy catalogue is positioned in a read-write partition of the magnetic disk; when the file system is started, the first copy catalogue and the first source catalogue are bound, so that when the operating system runs, the operation on the first source catalogue is actually executed on the first copy catalogue; after binding is finished, the read-write state of the read-only partition is reset into a read-only state, and the read-write state of the read-write partition is maintained, so that the reset first source catalogue only supports read operation, and the first copy catalogue can support both read operation and write operation at the same time. According to the method and the device for realizing the safety operation of the file system, when the system needs to perform the write operation on any catalogue positioned in the read-only partition, the catalogue can support the write operation from the system on files under the catalogue.

Description

technical field [0001] The invention relates to the computer field, in particular to a method and a device for realizing safe operation of a file system. Background technique [0002] The Linux file system adopts a standard directory structure. When installing the Linux operating system, the installation program has created a Linux file system with a complete and fixed directory structure for the user, and specified the role of each directory and the file types in it. [0003] Among them, the directory structure of the Linux file system is a tree structure, such as figure 1 shown. That is, the root directory is at the top of the tree structure, and other directories generated from the root directory are all subdirectories of the root directory. [0004] But, in the process of realizing the present invention, the inventor of the present invention finds that there are at least the following problems in the prior art: [0005] In order to realize the safe operation of the Li...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/80G06F21/10
CPCG06F21/10G06F21/80G06F2221/2121
Inventor 陈义攀
Owner PRANUS BEIJING TECH CO LTD