Method and device for creating a file system

A file system and file data technology, applied in the storage field, can solve the problem of not being able to create a file system with multiple storage devices

CN103678428BActive Publication Date: 2018-08-31LENOVO (BEIJING) LTD
5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2018-08-31

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a file system establishing method and device which are used for solving the technical problem that one file system can not be established on a plurality of storage devices and are applied to an electronic device. The electronic device at least comprises a first storage device and a second storage device; the first storage device and the second storage device are respectively provided with at least one subarea, and each subarea is provided with a plurality of storage blocks which are divided into first-class storage blocks and second-class storage blocks; the first-class storage blocks are used for storing control information, and the second-class storage blocks are used for storing data; information relevant to a first file system of established file systems, attribute information of all the second-class storage blocks in the first storage device and attribute information of all the second-class storage blocks in the second storage device are stored in the first-class storage blocks in each subarea of the first storage device and the first-class storage blocks in each subarea of the second storage device.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of storage technology, in particular to a method and device for creating a file system. Background technique

[0002] SD card has the characteristics of high memory capacity, fast data transfer rate, great mobile flexibility and good security. It is a new generation of memory device and is widely used in portable devices, such as mobile phones, digital cameras, personal digital Assistant (PDA) and multimedia player etc. As a removable storage device, the storage capacity of the SD card is designed to be of different sizes. In many cases, multiple SD cards need to be used in current mobile phones.

[0003] In the prior art, in order to realize the storage function of each SD card, different file systems are respectively established on different SD cards, and the file system of each SD card can organize and organize the data information stored in the SD card. management work.

[0004] However, in the proces...

Examples

Embodiment Construction

[0086] Embodiments of the present application provide a method and device for creating a file system to solve the technical problem that a file system cannot be created on multiple storage devices in the prior art.

[0087] The technical solution in the embodiment of the present application is to solve the above problems, and the general idea is as follows:

[0088] Provides a method for file creation, including:

[0089] The first storage device includes at least one partition, each partition includes a plurality of block storage bodies, and the plurality of block storage bodies include a first type block storage body and a second type block storage body; the first type block storage body It is a block storage body storing control information, and the second type of block storage body is a block storage body storing data;

[0090] The second storage device includes at least one partition, each partition includes a plurality of block storage bodies, and the plurality of block...