Class Lspv

java.lang.Object
oshi.driver.unix.aix.Lspv

@ThreadSafe public final class Lspv extends Object
Utility to query lspv
  • Method Details

    • queryLogicalVolumes

      public static List<HWPartition> queryLogicalVolumes(String device, Map<String,Pair<Integer,Integer>> majMinMap)
      Query lspv to get partition info, or return a cached value.
      Parameters:
      device - The disk to get the volumes from.
      majMinMap - A map of device name to a pair with major and minor numbers.
      Returns:
      A list of logical volumes (partitions) on this device.