1lsm_disk_type_get(3) Libstoragemgmt C API Manual lsm_disk_type_get(3)
2
3
4
6 lsm_disk_type_get - Retrieves the disk type.
7
9 lsm_disk_type lsm_disk_type_get (lsm_disk *d);
10
12 d Disk to retrieve type for.
13
15 1.0
16
18 Retrieves the type for the disk. Possible values are:
19 * LSM_DISK_TYPE_UNKNOWN
20 Unknown of argument 'd' is NULL.
21 * LSM_DISK_TYPE_OTHER
22 Vendor specific.
23 * LSM_DISK_TYPE_ATA
24 IDE/ATA disk.
25 * LSM_DISK_TYPE_SATA
26 SATA disk.
27 * LSM_DISK_TYPE_SAS
28 SAS disk.
29 * LSM_DISK_TYPE_FC
30 FC disk.
31 * LSM_DISK_TYPE_SOP
32 SCSI over PCI-E for Solid State Storage.
33 * LSM_DISK_TYPE_SCSI
34 SCSI disk.
35 * LSM_DISK_TYPE_LUN
36 LUN from external storage array.
37 * LSM_DISK_TYPE_NL_SAS
38 NL_SAS disk (SATA disk using SAS interface).
39 * LSM_DISK_TYPE_HDD
40 Failback value for hard disk drive(rotational).
41 * LSM_DISK_TYPE_SSD
42 Solid State Disk.
43 * LSM_DISK_TYPE_HYBRID
44 Combination of HDD and SSD.
45
47 string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.
48
49
50
51February 2020 lsm_disk_type_get lsm_disk_type_get(3)