61
Programming / Re: How to obtain number of disk drives (not partitions) attached to system?
« on: November 05, 2019, 04:01:48 am »
The LVM toolkit has the Get_Drive_Control_Data function which does what you want.
http://www.altsan.org/os2/toolkits/lvm/lvmref/LVMREF.html
The number of drives is returned in the Count field.
http://www.altsan.org/os2/toolkits/lvm/lvmref/LVMREF.html
The number of drives is returned in the Count field.