HostDiskPartitionInfo
Information about the partitions on a disk.
A DiskPartitionInfo object provides two different views into the partitions on a disk:
- A detailed specification that is used to create the partition table.
- A convenient view that shows the allocations of blocks as a contiguous sequence of block ranges.
See also RetrieveDiskPartitionInfo, ComputeDiskPartitionInfo, UpdateDiskPartitions.
{
"_typeName": "string",
"deviceName": "string",
"spec": {
"_typeName": "string",
"partitionFormat": "string",
"chs": {
"_typeName": "string",
"cylinder": 0,
"head": 0,
"sector": 0
},
"totalSectors": 0,
"partition": [
{
"_typeName": "string",
"partition": 0,
"startSector": 0,
"endSector": 0,
"type": "string",
"guid": "string",
"logical": false,
"attributes": 0,
"partitionAlignment": 0
}
]
},
"layout": {
"_typeName": "string",
"total": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"partition": [
{
"_typeName": "string",
"partition": 0,
"type": "string",
"start": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"end": {
"_typeName": "string",
"blockSize": 0,
"block": 0
}
}
]
}
}
The device name of the disk to which this partition information corresponds.
This data object type describes the disk partition table specification used to configure the partitions on a disk.
This data object represents the fundamental data needed to specify a partition table.
This data object type describes the disk partition layout specified as a list of ordered BlockRanges.
This view of the disk partitions shows the data on the disk as a contiguous set of BlockRanges.