Package oshi.driver.unix.freebsd.disk
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
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
GEOM_PART_LIST
private static java.lang.String
STAT_FILESIZE
-
Constructor Summary
Constructors Modifier Constructor Description private
GeomPartList()
-
Method Summary
All Methods Static Methods Concrete Methods 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
-
-
-
Field Detail
-
GEOM_PART_LIST
private static final java.lang.String GEOM_PART_LIST
- See Also:
- Constant Field Values
-
STAT_FILESIZE
private static final java.lang.String STAT_FILESIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 a List of partitions as the value
-
-