Package oshi.driver.unix.openbsd.disk
Class Disklabel
java.lang.Object
oshi.driver.unix.openbsd.disk.Disklabel
Utility class parsing partition information from disklabel command
-
Method Summary
Modifier and TypeMethodDescriptiongetDiskParams
(String diskName) Gets disk and partition information
-
Method Details
-
getDiskParams
Gets disk and partition information- Parameters:
diskName
- The disk to fetch partition information from- Returns:
- A quartet containing the disk's name/label, DUID, size, and a list of partitions
-