摘要 |
<p>Embodiments of the present invention provide a method and an apparatus for accessing a data storage device. The method includes: receiving a formatting instruction on a FAT file system; obtaining, according to correspondence between area of the data storage device and sector information, first sector information corresponding to an MBR partition, second sector information corresponding to a hidden partition, and third sector information corresponding to a FAT partition; and performing a formatting operation on sectors identified by the first sector information, the second sector information, and the third sector information. In the embodiments of the present invention, because a hidden sector of the data storage device is formatted, a hidden partition formed after the formatting can be effectively used for data storage, thereby improving the data storage efficiency of the data storage device.</p> |