CN109117091A - A kind of SSD equipment mount point acquisition methods and relevant apparatus - Google Patents
A kind of SSD equipment mount point acquisition methods and relevant apparatus Download PDFInfo
- Publication number
- CN109117091A CN109117091A CN201810846235.0A CN201810846235A CN109117091A CN 109117091 A CN109117091 A CN 109117091A CN 201810846235 A CN201810846235 A CN 201810846235A CN 109117091 A CN109117091 A CN 109117091A
- Authority
- CN
- China
- Prior art keywords
- information
- mount point
- ssd
- block device
- preset data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000003860 storage Methods 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 11
- 230000000694 effects Effects 0.000 abstract description 2
- 238000005192 partition Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
- G06F3/0607—Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of SSD equipment mount point acquisition methods, by obtaining all block device information, the identification information of hard disk in block device information is saved to preset data structure, and after determining non-SSD identification information, by in preset structure all non-SSD identification informations and corresponding mount point information all delete, only retain SSD identification information and corresponding mount point information, therefore it does not need artificially to distinguish the mount point that can automatically get SSD equipment in current device, facilitates the acquisition of SSD mount point accurate.Present invention also provides a kind of SSD equipment mount points to obtain system, device and computer readable storage medium, and above-mentioned technical effect equally may be implemented.
Description
Technical field
The present invention relates to field of computer technology, more specifically to a kind of SSD equipment mount point acquisition methods, are
System, device and computer readable storage medium.
Background technique
In the use process of computer equipment, SSD (Solid State Drives, solid state hard disk) equipment carry is obtained
Point is a kind of common demand, and mount point is the entrance catalogue of SSD file system.
The subjective behavior for obtaining SSD equipment mount point multidimentional system administrator at present, current by artificial observing system
The details of disk unit or judged by checking the rotational value of equipment the equipment being examined whether be
SSD, if it is the mount point for further searching SSD equipment.
But due to determining that the method for mount point of SSD equipment needs artificial experience to go to observe at present, low efficiency and
Artificial cost is also higher, moreover, artificial observation has subjectivity, the result for the mount point determined is also not unified enough.
Therefore, how efficiently and accurately obtains SSD equipment mount point, is those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the present invention is to provide a kind of SSD equipment mount point acquisition methods, system, device and computer-readable deposit
Storage media, to solve the problems, such as how efficiently and accurately obtains SSD equipment mount point.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of SSD equipment mount point acquisition methods, comprising:
Obtain all block device information;
The identification information of disk in the block device information is stored in preset data structure with corresponding mount point information;
Using all identification informations in the preset data structure, determination is non-in all identification informations
SSD identification information;
Delete non-SSD identification information and corresponding mount point information in the preset data structure.
Wherein, the identification information of disk in the block device information is stored in preset data knot with corresponding mount point information
Before structure, further includes:
Judge whether the mount point information in each block device information is empty;
If it is not, then being executed to the block device information that mount point information is not sky described by disk in block device information
The step of identification information is stored in preset data structure with corresponding mount point information.
Wherein, described that the identification information of disk in the block device information is stored in present count with corresponding mount point information
According to structure, comprising:
It is when the block device information is disk information, the title of disk and the deposit of corresponding mount point information is described pre-
If data structure.
Wherein, described that the identification information of disk in the block device information is stored in present count with corresponding mount point information
According to structure, comprising:
It is when the block device information is part information, the title of part and the deposit of corresponding mount point information is described pre-
If in disk belonging to part described in data structure.
Wherein, described that the identification information of disk in the block device information is stored in present count with corresponding mount point information
According to structure, comprising:
It is when the block device information is lvm information, the title of lvm is described default with the deposit of corresponding mount point information
In the corresponding disk of lvm described in data structure.
Wherein, all identification informations using in the preset data structure, in all identification informations
The middle non-SSD identification information of determination, comprising:
Determine that each identification information is corresponding using all identification informations in the preset data structure
Rotational value;
The identification information that rotational value is not 0 is determined as non-SSD identification information.
In order to solve the above technical problems, present invention also provides a kind of SSD equipment mount points to obtain system, comprising:
Module is obtained, for obtaining all block device information;
Preserving module, it is pre- for the identification information of disk in the block device information to be stored in corresponding mount point information
If data structure;
Determining module, for utilizing all identification informations in the preset data structure, in all marks
Non- SSD identification information is determined in information;
Removing module, for deleting non-SSD identification information and corresponding mount point information in the preset data structure.
Wherein, the determining module, comprising:
First determination unit, for determining each mark using all identification informations in the preset data structure
Know the corresponding rotational value of information;
Second determination unit, for determining the not corresponding non-SSD identification information of rotational value for 0.
In order to solve the above technical problems, present invention also provides a kind of SSD equipment mount point acquisition device, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of the SSD equipment mount point acquisition methods.
In order to solve the above technical problems, the computer can present invention also provides a kind of computer readable storage medium
It reads to be stored with computer program on storage medium, such as the SSD hanging equipment is realized when the computer program is executed by processor
The step of loading point acquisition methods.
By above scheme it is found that a kind of SSD equipment mount point acquisition methods provided by the invention, comprising: obtain all
Block device information;The identification information of disk in the block device information is stored in preset data knot with corresponding mount point information
Structure;Using all identification informations in the preset data structure, non-SSD mark is determined in all identification informations
Information;Delete non-SSD identification information and corresponding mount point information in the preset data structure.
It can be seen that a kind of SSD equipment mount point acquisition methods provided by the embodiments of the present application, are set by obtaining all pieces
Standby information, the identification information of hard disk in block device information is saved to preset data structure, and determining non-SSD identification information
Afterwards, by preset structure all non-SSD identification informations and corresponding mount point information all delete, only retain a SSD mark letter
Breath and corresponding mount point information, therefore do not need artificial discrimination and can automatically get SSD equipment in current device
Mount point facilitates the acquisition of SSD mount point accurate.
Present invention also provides a kind of SSD equipment mount points to obtain system, device and computer readable storage medium, equally
Above-mentioned technical effect may be implemented.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of SSD equipment mount point acquisition methods flow chart disclosed by the embodiments of the present invention;
Fig. 2 is a kind of specific SSD equipment mount point acquisition methods flow chart disclosed by the embodiments of the present invention;
Fig. 3 is that a kind of SSD equipment mount point disclosed by the embodiments of the present invention obtains system structure diagram;
Fig. 4 is a kind of SSD equipment mount point acquisition device structural schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of SSD equipment mount point acquisition methods, system, device and computer-readable storages
Medium, to solve the problems, such as how efficiently and accurately obtains SSD equipment mount point.
Referring to Fig. 1, a kind of SSD equipment mount point acquisition methods provided in an embodiment of the present invention are specifically included:
S101 obtains all block device information.
Specifically, block device information all in current device is obtained first, and block device information includes all hard disks
Information, e.g., SSD hard disk information and non-SSD hard disk information.
In a specific embodiment, all block device information are obtained using lsblk order.
The identification information of disk in the block device information is stored in preset data knot with corresponding mount point information by S102
Structure.
In the present solution, a data structure, i.e. preset data structure is pre-created, the preset data structure is for storing
Mount point information.The identification information of disk in above-mentioned block device information and corresponding mount point information are stored in preset data first
Structure.
In a specific embodiment, preset data structure can be partition_info, and structure is
Wherein, in above-mentioned specific embodiment, disk_name indicates hard disk title, and partition indicates subregion letter
Breath, lvm indicate logic volume information.Wherein partition information, logic volume information can be specially partition identification information and logical volume
Know information, such as corresponding title.
It should be noted that the form of hard disk information can there are three types of.
The first is exactly hard disk information, that is, without carrying out subregion or being mapped as logical volume, specially only includes hard disk
Title and corresponding mount point information disk_name:mountpoint;
As soon as second is the corresponding hard disk information of each subregion when having carried out subregion on the basis of hard disk
It can be partition information, include the specifying information hard disk information corresponding with the subregion of subregion in partition information, specially wrap
Include the corresponding hard disk title of subregion, partition name and the corresponding mount point information disk_name:{ partition of subregion:
mountpoint};
The third is then when hard disk has mapped logical volume, and logical volume information includes the specifying information and the logical volume of logical volume
Corresponding hard disk information is specifically as follows the corresponding hard disk title of logical volume, the mount point information of logical volume name or logical volume
disk_name:{partition:mountpoint}。
Due to hard disk information can there are three types of, by hard disk information deposit preset data structure method also correspond to there are three types of,
Specific method will be introduced in following embodiments, and details are not described herein again.
S103, using all identification informations in the preset data structure, in all identification informations really
Fixed non-SSD identification information.
Specifically, the identification information that all hard disks are saved in preset structure determines non-SSD mark letter by identification information
Breath.
It should be noted that identification information includes the hard disk title of hard disk, by hard disk title may determine that hard disk whether be
SSD。
In a specific embodiment, it is determined first with the identification informations all in the preset data structure
The corresponding rotational value of each identification information;The identification information that rotational value is not 0 is determined as non-SSD mark
Know information.
In the present solution, determining the rotational value of each identification information, the method for determining rotational value first
The prior art can be referred to, details are not described herein again.Then the identification information that rotational value is not 0 is identified as non-SSD
Information.
For example, data structure is the partition_info in above-mentioned specific embodiment, looping through out should
Disk_name in partition_info, reading/sys/block/ [disk_name]/queue/rotational,
[disk_name] indicates the identification information disk_name currently traversed.It, should if rotational value is not 0
The corresponding disk_name of rotational value is not SSD identification information.
S104 deletes non-SSD identification information and corresponding mount point information in the preset data structure.
In the present solution, by all non-SSD identification informations and corresponding mount point information whole in preset data structure
It deletes, what is saved in data structure at this time is SSD identification information and corresponding mount point information, can get whole at this time
SSD mount point information.
It can be seen that a kind of SSD equipment mount point acquisition methods provided by the embodiments of the present application, are set by obtaining all pieces
Standby information, the identification information of hard disk in block device information is saved to preset data structure, and determining non-SSD identification information
Afterwards, by preset structure all non-SSD identification informations and corresponding mount point information all delete, only retain a SSD mark letter
Breath and corresponding mount point information, therefore do not need artificial discrimination and can automatically get SSD equipment in current device
Mount point facilitates the acquisition of SSD mount point accurate.
A kind of specific SSD equipment mount point acquisition methods provided by the embodiments of the present application are introduced below, hereafter
The hard disk for three kinds of forms that a kind of specific SSD equipment mount point acquisition methods of description are mentioned mainly for above-described embodiment is believed
Situation involved in ceasing is done expansion and is introduced, and other content is substantially similar with above-described embodiment, can specifically refer to above-described embodiment,
Details are not described herein again.
Referring to fig. 2, a kind of specific SSD equipment mount point acquisition methods provided by the embodiments of the present application, specifically include:
S201 obtains all block device information.
It should be noted that after getting all block device information, it is also necessary to judge the extension in each block device information
Whether loading point information is empty;It is not identification information and the corresponding extension of empty disk by mount point information in the block device information
Loading point information is stored in preset data structure.That is, needing in all block device information, corresponding mount point information is not
Empty block device information executes following step.
The title of disk is stored in by S202 when the block device information is disk information with corresponding mount point information
The preset data structure.
When block device information is disk information, then block device information be hard disk information, that is, without carry out subregion or
It is mapped as logical volume, disk title is directly stored in preset data structure with corresponding mount point information, such as in preset data knot
Disk_name:mountpoint is saved in structure.
The title of part is stored in by S203 when the block device information is part information with corresponding mount point information
In disk belonging to part described in the preset data structure.
Specifically, when block device information is part, then illustrate that the block device information is a partition information.It needs to illustrate
It is that a hard disk can divide multiple subregions, the corresponding hard disk information of each subregion can be for partition information.At this time, it may be necessary to
The title of subregion part is stored in preset data structure in disk belonging to subregion part with corresponding mount point, e.g.,
Disk_name:{ partition:mountpoint is saved in default partitioned organization };
The title of lvm is stored in institute with corresponding mount point information when the block device information is lvm information by S204
It states in the corresponding disk of lvm described in preset data structure.
Specifically, when block device information is lvm information, then illustrate that current block facility information is the letter of virtual logical volume
Breath, logical volume are the logical volumes of hard disk mapping, need to arrive the title of logical volume lvm with corresponding mount point information preservation at this time
In preset data structure under the corresponding disk of the lvm, such as disk_name:{ partition:mountpoint }.
S205, using all identification informations in the preset data structure, in all identification informations really
Fixed non-SSD identification information;
S206 deletes non-SSD identification information and corresponding mount point information in the preset data structure.
System is obtained to a kind of SSD equipment mount point provided by the embodiments of the present application below to be introduced, it is described below
A kind of SSD equipment mount point obtains system can be cross-referenced with above-described embodiment.
Referring to Fig. 3, a kind of SSD equipment mount point acquisition system provided by the embodiments of the present application is specifically included:
Module 301 is obtained, for obtaining all block device information;
Preserving module 302, for depositing the identification information of disk in the block device information with corresponding mount point information
Enter preset data structure;
Determining module 303, for utilizing all identification informations in the preset data structure, in all marks
Know and determines non-SSD identification information in information;
Removing module 304 is believed for deleting in the preset data structure non-SSD identification information with corresponding mount point
Breath.
The SSD equipment mount point of the present embodiment obtains system for realizing SSD equipment mount point acquisition methods above-mentioned, because
The reality of the visible SSD equipment mount point acquisition methods hereinbefore of specific embodiment in this SSD equipment mount point acquisition system
A part is applied, for example, acquisition module 301, preserving module 302, determining module 303, removing module 304 are respectively used in realization
Step S101, S102, S103 and S104 in SSD equipment mount point acquisition methods are stated, so, specific embodiment is referred to
The description of corresponding various pieces embodiment, details are not described herein.
Referring to fig. 4, the embodiment of the present application provides a kind of SSD equipment mount point acquisition device, specifically include processor 401 with
Memory 402, wherein when the processor 401 executes the computer program that the memory 402 saves, main realization is following
Step:
Obtain all block device information;By the identification information of disk in the block device information and corresponding mount point information
It is stored in preset data structure;Using all identification informations in the preset data structure, in all identification informations
The middle non-SSD identification information of determination;Delete non-SSD identification information and corresponding mount point information in the preset data structure.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402
When sequence, following steps specifically may be implemented: judging whether the mount point information in each block device information is empty;If it is not, then right
Mount point information be not the empty block device information execute it is described by the identification information of disk in block device information with it is corresponding
Mount point information is stored in the step of preset data structure.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402
When sequence, following steps specifically may be implemented: when the block device information is disk information, by the title of disk and corresponding extension
Loading point information is stored in the preset data structure.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402
When sequence, following steps specifically may be implemented: when the block device information is part information, by the title of part and corresponding extension
Loading point information is stored in disk belonging to part described in the preset data structure.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402
When sequence, following steps specifically may be implemented: when the block device information is lvm information, by the title of lvm and corresponding carry
Point information is stored in the corresponding disk of lvm described in the preset data structure.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402
When sequence, following steps specifically may be implemented: being determined using the identification informations all in the preset data structure each described
The corresponding rotational value of identification information;The identification information that rotational value is not 0 is determined as non-SSD identification information.
Further, the SSD equipment mount point acquisition device in the present embodiment can also include:
Input interface 403, for obtaining the computer program of extraneous importing, and the computer program that will acquire save to
In the memory 402, it can be also used for the various instructions and parameter that obtain extraneous terminal device transmission, and be transmitted to processor
In 401, so that processor 401 is handled accordingly using above-mentioned various instructions and parametric evolving.In the present embodiment, the input is connect
Mouth 403 can specifically include but be not limited to USB interface, serial line interface, speech input interface, fingerprint input interface, hard disk and reads
Interface etc..
Output interface 404, the various data for generating processor 401 are exported to coupled terminal device, with
Other terminal devices convenient for being connected with output interface 404 can get the various data of the generation of processor 401.The present embodiment
In, the output interface 404 can specifically include but be not limited to USB interface, serial line interface etc..
Communication unit 405 connects for establishing telecommunication between SSD equipment mount point acquisition device and external server
It connects, in order to can remotely obtain the SSD mount point information of external equipment.In the present embodiment, communication unit 405 specifically be can wrap
It includes but is not limited to the remote communication unit based on wireless communication technique or wire communication technology.
Keyboard 406, the various parameters data or instruction inputted and tapping keycap in real time for obtaining user.
Display 407 carries out real-time display for the relevant information to file carry process, in time in order to user
Understand the carry situation of current file folder.
Mouse 408 can be used for assisting user input data and simplify the operation of user.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
Step provided by above-described embodiment may be implemented when program is executed by processor.The storage medium may include: USB flash disk, movement
Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), the various media that can store program code such as magnetic or disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of SSD equipment mount point acquisition methods characterized by comprising
Obtain all block device information;
The identification information of disk in the block device information is stored in preset data structure with corresponding mount point information;
Using all identification informations in the preset data structure, non-SSD mark is determined in all identification informations
Know information;
Delete non-SSD identification information and corresponding mount point information in the preset data structure.
2. the method according to claim 1, wherein by the identification information of disk in the block device information with it is right
Before the mount point information deposit preset data structure answered, further includes:
Judge whether the mount point information in each block device information is empty;
If it is not, not being then that the empty block device information executes the mark by disk in block device information to mount point information
The step of information is stored in preset data structure with corresponding mount point information.
3. the method according to claim 1, wherein the identification information by disk in the block device information
Preset data structure is stored in corresponding mount point information, comprising:
When the block device information is disk information, the title of disk is stored in the present count with corresponding mount point information
According to structure.
4. the method according to claim 1, wherein the identification information by disk in the block device information
Preset data structure is stored in corresponding mount point information, comprising:
When the block device information is part information, the title of part is stored in the present count with corresponding mount point information
According in disk belonging to part described in structure.
5. the method according to claim 1, wherein the identification information by disk in the block device information
Preset data structure is stored in corresponding mount point information, comprising:
When the block device information is lvm information, the title of lvm is stored in the preset data with corresponding mount point information
In the corresponding disk of lvm described in structure.
6. according to claim 1 to method described in 5 any one, which is characterized in that described to utilize the preset data structure
In all identification informations, non-SSD identification information is determined in all identification informations, comprising:
Determine that each identification information is corresponding using all identification informations in the preset data structure
Rotational value;
The identification information that rotational value is not 0 is determined as non-SSD identification information.
7. a kind of SSD equipment mount point obtains system characterized by comprising
Module is obtained, for obtaining all block device information;
Preserving module, for the identification information of disk in the block device information to be stored in present count with corresponding mount point information
According to structure;
Determining module, for utilizing all identification informations in the preset data structure, in all identification informations
The middle non-SSD identification information of determination;
Removing module, for deleting non-SSD identification information and corresponding mount point information in the preset data structure.
8. system according to claim 7, the determining module, comprising:
First determination unit, for determining that each mark is believed using all identification informations in the preset data structure
Cease corresponding rotational value;
Second determination unit, for determining the not corresponding non-SSD identification information of rotational value for 0.
9. a kind of SSD equipment mount point acquisition device characterized by comprising
Memory, for storing computer program;
Processor realizes the SSD equipment mount point as described in any one of claim 1 to 6 when for executing the computer program
The step of acquisition methods.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes that the SSD equipment mount point as described in any one of claim 1 to 6 obtains when the computer program is executed by processor
The step of taking method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810846235.0A CN109117091A (en) | 2018-07-27 | 2018-07-27 | A kind of SSD equipment mount point acquisition methods and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810846235.0A CN109117091A (en) | 2018-07-27 | 2018-07-27 | A kind of SSD equipment mount point acquisition methods and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109117091A true CN109117091A (en) | 2019-01-01 |
Family
ID=64863706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810846235.0A Pending CN109117091A (en) | 2018-07-27 | 2018-07-27 | A kind of SSD equipment mount point acquisition methods and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117091A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928814A (en) * | 2019-11-20 | 2020-03-27 | 北京安兔兔科技有限公司 | Method and device for detecting transmission abnormality of serial hard disk and electronic equipment |
CN112733189A (en) * | 2021-01-14 | 2021-04-30 | 浪潮云信息技术股份公司 | System and method for realizing file storage server side encryption |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150075831A (en) * | 2013-12-26 | 2015-07-06 | 인천대학교 산학협력단 | Cache-enabled Metadata-aware Storage in Linux System |
CN107577581A (en) * | 2017-09-19 | 2018-01-12 | 郑州云海信息技术有限公司 | A kind of method of all SSD disks in quick detection Linux system |
-
2018
- 2018-07-27 CN CN201810846235.0A patent/CN109117091A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150075831A (en) * | 2013-12-26 | 2015-07-06 | 인천대학교 산학협력단 | Cache-enabled Metadata-aware Storage in Linux System |
CN107577581A (en) * | 2017-09-19 | 2018-01-12 | 郑州云海信息技术有限公司 | A kind of method of all SSD disks in quick detection Linux system |
Non-Patent Citations (2)
Title |
---|
BOBBIN ZACHARIAH: "使用Linux的lsblk命令列出块设备信息", 《LINUX中国,HTTPS://LINUX.CN/ARTICLE-3340-1.HTML》 * |
CHARLES_SHIH: "linux下判断磁盘是SSD还是HDD的几种方法", 《CSDN,HTTPS://BLOG.CSDN.NET/SCH0120/ARTICLE/DETAILS/77725658》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928814A (en) * | 2019-11-20 | 2020-03-27 | 北京安兔兔科技有限公司 | Method and device for detecting transmission abnormality of serial hard disk and electronic equipment |
CN112733189A (en) * | 2021-01-14 | 2021-04-30 | 浪潮云信息技术股份公司 | System and method for realizing file storage server side encryption |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107395665A (en) | A kind of block chain service handling and business common recognition method and device | |
WO2012089079A1 (en) | Mobile terminal and method for processing test log thereof | |
CN105446975B (en) | A kind of file packing method and device | |
CN108733715A (en) | The determination method and device of building entrance | |
CN110347407A (en) | A kind of method, apparatus, computer equipment and medium obtaining EMS memory occupation amount | |
CN105426375A (en) | Relationship network calculation method and apparatus | |
CN106020735A (en) | Data storage method and device | |
CN109117091A (en) | A kind of SSD equipment mount point acquisition methods and relevant apparatus | |
CN110136209A (en) | A kind of camera calibration method, device and computer readable storage medium | |
CN108563789A (en) | Data cleaning method based on Spark frames and device | |
CN109086176A (en) | A kind of SSD steady-state method of test, device, equipment and storage medium based on FIO | |
CN107135423A (en) | The method and device of application program in a kind of startup set top box | |
CN110297764A (en) | Loophole test model training method and device | |
CN109976888A (en) | A kind of data scanning method, device, equipment and storage medium | |
CN109815118A (en) | Data base management method and device, electronic equipment and computer readable storage medium | |
CN103634158B (en) | A kind of method for testing pressure and device of snmp management process | |
CN110941605A (en) | Method and device for deleting repeated data on line and readable storage medium | |
CN109324973A (en) | A kind of method for testing software, device, equipment and computer readable storage medium | |
CN109800273A (en) | A kind of method, apparatus of data processing, computer storage medium and terminal | |
CN109165305A (en) | A kind of storage of characteristic value, search method and device | |
CN113852610A (en) | Message processing method and device, computer equipment and storage medium | |
CN107193581B (en) | Firmware upgrading method and device, storage medium and computer equipment | |
KR101093019B1 (en) | System for restoring transmission data using main memory direct control of mobile communications terminal and method provide therefor | |
CN109871331A (en) | Software function trial and error method of decision analysis and device | |
CN106528577B (en) | Method and device for setting file to be cleaned |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190101 |