Class Lspv

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

@ThreadSafe
public final class Lspv
extends java.lang.Object
Utility to query lspv
  • Method Summary

    Modifier and Type Method Description
    static java.util.List<HWPartition> queryLogicalVolumes​(java.lang.String device, java.util.Map<java.lang.String,​Pair<java.lang.Integer,​java.lang.Integer>> majMinMap)
    Query lspv to get partition info

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • queryLogicalVolumes

      public static java.util.List<HWPartition> queryLogicalVolumes​(java.lang.String device, java.util.Map<java.lang.String,​Pair<java.lang.Integer,​java.lang.Integer>> majMinMap)
      Query lspv to get partition info
      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 pair containing the model and serial number for the device, or null if not found