Method and system for initializing hard disk

The embodiment of the invention discloses a hard disk initialization method and a system. The method comprises the following steps: acquiring hard disk information to be formatted; displaying the harddisk information; determining a block size according to the hard disk information; a hard disk to be...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: DONG ZHISHUAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a hard disk initialization method and a system. The method comprises the following steps: acquiring hard disk information to be formatted; displaying the harddisk information; determining a block size according to the hard disk information; a hard disk to be formatted is formatted according to the block size. In the invention, the information of the harddisk is grasped from the bottom layer by the script and displayed on the web interface, the corresponding block size is determined according to the obtained hard disk information, and finally the selected block size is formatted, so that the formatting efficiency of the hard disk can be improved. 本发明实施例公开了种硬盘初始化方法及系统,方法包括:获取待格式化硬盘信息;将所述硬盘信息进行显示;根据所述硬盘信息确定块大小;根据所述块大小对待格式化硬盘进行格式化。本发明中通过脚本从底层抓取硬盘信息后在web界面进行显示,根据获取的硬盘信息确定对应的块大小,最后根据选取的块大小进行格式化,能够提高硬盘格式化效率。