摘要 |
The present invention relates to the field of information technologies, and discloses a method and an apparatus for displaying a storage device partition, which facilitate user operations among storage devices, simplify user operations, and improve user experience. The method for displaying a storage device partition includes: acquiring a partition storage capacity of a storage partition and a total area of a display interface of a storage device, where the display interface is used to display the storage partition of the storage device and name information of the storage partition; determining a storage capacity percentage of the partition storage capacity in a total storage capacity of the storage device, and dividing the display interface into different sub-display areas according to the determined storage capacity percentage and a total area of the display interface, where different sub-display areas correspond to different storage partitions and are used to display name information of corresponding storage partitions; and generating and displaying, on the display interface, a spacing line between adjacent sub-display areas, where all sub-display areas share a same vertex. |