DiskType class

class diskinfo.DiskType[source]

Constant values for disk types and for their names.

HDD = 1

Hard disk type.

HDD_STR = 'HDD'

Name of the hard disk type.

LOOP = 8

LOOP disk type.

LOOP_STR = 'LOOP'

Name of the LOOP disk type.

NVME = 4

NVME disk type.

NVME_STR = 'NVME'

Name of the NVME disk type.

SSD = 2

SSD disk type.

SSD_STR = 'SSD'

Name of the SSD disk type.