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

Method for establishing disk file system

A disk file and disk partition technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of increased configuration work, file storage confusion, increased workload of management files, etc., to achieve the effect of reducing workload

Inactive Publication Date: 2010-06-09
宋振华
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when these file contents or new files are discarded, some very important information may be lost; when copied to other disk partitions, first of all, it is necessary to select which disk partition to copy to, and secondly, these file contents or new files The directory to which it belongs also changes (because the directory mounted by each disk file system is different), so all operations and programs that access the content of these files or new files must be modified to access the file through the new directory
In addition, each disk partition and each directory in the system is generally configured to manage a certain type of file. If the file storage directory changes a lot, the file storage in the system will be confused, and the file search efficiency will be low. That is, additional configuration work is required, which increases the workload of managing 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 for establishing disk file system
  • Method for establishing disk file system
  • Method for establishing disk file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] In order to solve the problems in the prior art, the present invention proposes a brand-new implementation method of the disk file system, that is, by uniformly storing the identifiers corresponding to the disk partitions that need to be managed uniformly, and then being able to The partitions are uniformly formatted and mounted, so that one disk file system can manage multiple disk partitions, which means that when the space of a certain disk partition managed by the disk file system is not enough, files can also be saved to the unified management In other disk partitions, there is no need to re-modify the directory where the file is saved, so it can ensure that the file is saved correctly and reduce the workload required for file management.

[0013] Based on the above introduction, the specific realization of the scheme of the present invention includes:

[0014] A method of creating a disk file system, the method comprising:

[0015] Storing the identifiers corresp...

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 method for establishing a disk file system. The method comprises the following steps of: uniformly storing identifications corresponding to disk partitions needing to be managed into other disk partitions; orderly formatting the disk partitions corresponding to the stored identifications; allocating a superblock object for the disk file system in a memory; initializing device fields in the superblock object into a linked list; and after orderly saving superblock information of the uniformly managed disk partitions into the linked list, mounting the disk file system on a catalog. By using the method, when the space of a certain disk partition managed uniformly by the disk file system is not enough, a file can be saved in other uniformly managed disk partition without remodifying the catalog in which the file is saved; therefore, the method can ensure that the file is saved correctly and reduce the workload required for managing the file at the same time.

Description

technical field [0001] The invention relates to the technical field of computer file system management, in particular to a method for creating a disk file system. Background technique [0002] The disk file system is a very important part of the Linux operating system. There are two main aspects to create a disk file system: one is to format the disk partition, that is, to deploy a disk file system on the disk partition. Specifically, the The disk partition at least includes the disk partition’s metadata information such as the number of disk partitions, block size, and disk partition usage, and the name of the disk file system is stored in the super block of the disk partition; the second is to mount the disk file system. Specifically, all the information in the super block of the disk partition is stored in the super block object of the internal memory, and at the same time, the identification of the disk partition is also correspondingly stored in the device field of the ...

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 Applications(China)
IPC IPC(8): G06F17/30
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