Package oshi.driver.unix.aix
Class Lspv
java.lang.Object
oshi.driver.unix.aix.Lspv
Utility to query lspv
-
Method Summary
-
Method Details
-
queryLogicalVolumes
public static List<HWPartition> queryLogicalVolumes(String device, Map<String, Pair<Integer, Integer>> majMinMap) Querylspv
to get partition info- Parameters:
device
- The disk to get the volumes frommajMinMap
- A map of device name to a pair with major and minor numbers.- Returns:
- A pair containing the model and serial number for the device, or null if not found
-