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

Method and device for conducting partition formatting and mounting on hard disk

A technology of hard disk partition and hard disk, which is applied in the direction of program control device, program loading/starting, input/output to record carrier, etc., which can solve the problems of cumbersome and inconvenient operation.

Inactive Publication Date: 2014-09-03
SHENZHEN INFINOVA
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the method of formatting the hard disk through the webpage is safe and not prone to problems, when the number of hard disks is large, it is cumbersome and inconvenient to format the hard disks one by one through the webpage

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 conducting partition formatting and mounting on hard disk
  • Method and device for conducting partition formatting and mounting on hard disk
  • Method and device for conducting partition formatting and mounting on hard disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 It shows the implementation flow of the hard disk partition formatting and mounting method provided by Embodiment 1 of the present invention.

[0038] like figure 1 As shown, the method of formatting and mounting the hard disk partition is as follows:

[0039] In step S101, when booting and / or when hot plugging of a hard disk device is detected, a pre-set partition formatting and mounting script is invoked to perform partition formatting on the hard disk device.

[0040] In the present invention, when the system starts and / or detects that a hard disk device is hot-plugged, the script that is called when the linux boot script and the hard disk device are hot-plugged can automatically call the partition formatting and mounting script to partition the hard disk device, Then do the formatting again. Wherein, only one partition is divided when the hard disk device is partitioned. The system is a linux system.

[0041] The partition formatting and mounting scrip...

Embodiment 2

[0054] figure 2 It shows the implementation flow of the method for partition formatting and mounting when the hard disk is hot plugged provided by Embodiment 2 of the present invention.

[0055] like figure 2 As shown, the partition formatting and mounting methods when the hard disk is hot plugged are as follows:

[0056] In step S201, when it is detected that a hard disk device is hot-plugged, it is determined whether the hard disk device has been partitioned and formatted by the cloud storage data storage node.

[0057] In this embodiment, when a hard disk is detected to be hot-plugged, the script smart_mount_disk.sh for partition formatting and mounting will be triggered to automatically determine whether the hard disk device has been partitioned and formatted by the cloud storage data storage node. If the judgment result is yes, execute step S202; otherwise, execute step S203.

[0058] The cloud storage data storage node refers to a storage node in a cloud storage clu...

Embodiment 3

[0091] Figure 4 It shows the composition and structure of the hard disk partition formatting and mounting device provided by Embodiment 3 of the present invention.

[0092] like Figure 4 As shown, the hard disk partition formatting and mounting device includes:

[0093] Partition formatting module 41, when being used for starting up and / or detecting that there is a hard disk device hot plug, call the pre-set partition formatting mount script to carry out partition formatting to the hard disk device;

[0094] The mounting module 42 is configured to mount the partition formatted hard disk device through the partition format mount script after the partition format is completed.

[0095] Further, the device also includes:

[0096] The setting module 43 is used to pre-set the function of calling the partition formatting and mounting script in the system startup script and the script called when the hard disk device is hot plugged.

[0097] Further, the partition formatting mo...

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 is applicable to the field of security and protection monitoring, and provides a method and device for conducting partition formatting and mounting on a hard disk. The method comprises the steps that a partition formatting and mounting script set in advance is called to carry out partition formatting on the hard disk device when a computer is started and / or hot plugging of the hard disk device is detected; after partition formatting is completed, the partition formatting and mounting script is used for carrying out mounting on the hard disk device obtained after partition formatting. According to the method and device for conducting partition formatting and mounting on the hard disk, the partition formatting and mounting script is added, the function of calling the partition formatting and mounting script is set in a boot-up script and a script called when hot plugging of the hard disk device is detected, and therefore a system can automatically carry out partition formatting and mounting on the hard disk device when the computer is started and / or hot plugging of the hard disk device is detected.

Description

technical field [0001] The invention belongs to the technical field of security monitoring, in particular to a method and device for formatting and mounting hard disk partitions. Background technique [0002] The traditional hard disk formatting and mounting method is a manual solution, that is: first manually format through the webpage, and then automatically mount when the machine is turned on. Although the method of formatting the hard disk through the webpage is safe and not prone to problems, when the number of hard disks is large, it is cumbersome and inconvenient to format the hard disks one by one through the webpage. Contents of the invention [0003] The object of the present invention is to provide a method and device for formatting and mounting hard disk partitions, so as to realize automatic partition formatting and mounting of hard disk devices. [0004] The present invention is achieved in this way, a method for formatting and mounting hard disk partitions,...

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): G06F3/06G06F9/445
Inventor 叶笋
Owner SHENZHEN INFINOVA
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