Class GeomPartList

java.lang.Object
oshi.driver.unix.freebsd.disk.GeomPartList

@ThreadSafe
public final class GeomPartList
extends java.lang.Object
Utility to query geom part list
  • Method Summary

    Modifier and Type Method Description
    static java.util.Map<java.lang.String,​java.util.List<HWPartition>> queryPartitions()
    Queries partition data using geom, mount, and stat commands

    Methods inherited from class java.lang.Object

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

    • queryPartitions

      public static java.util.Map<java.lang.String,​java.util.List<HWPartition>> queryPartitions()
      Queries partition data using geom, mount, and stat commands
      Returns:
      A map with disk name as the key and an UnmodifiableList of partitions as the value