This is the documentation for ToiStorageDevicePartitionInfo.
Information about a specific partition. Use toi.statics.ToiStorageDevicePartitionInfo.create(<id>, <uniqueId>, <isMounted>, <mountPoint>, <capacity>, <freeCapacity>, <fsStatus>, <isReadWrite>, <featureCapabilityMask>, <enabledFeatureMask>) to create an instance of ToiStorageDevicePartitionInfo. The following parameters in the create method are optional: <isReadWrite>, <featureCapabilityMask>, <enabledFeatureMask>. For the optional members that have default values, the values are: ; if they are not set from the portal, they will have the default value.
import "ToiStorageDevicePartitionInfo.idl";
Public Attributes | |
| attribute ToiStorageDevice::TToiPartitionId | id |
| attribute string | uniqueId |
| attribute boolean | isMounted |
| attribute string | mountPoint |
| attribute long long | capacity |
| attribute long long | freeCapacity |
| attribute ToiStorageDevice::TToiFileSystemStatus | fsStatus |
| attribute boolean | isReadWrite |
| attribute long | featureCapabilityMask |
| attribute long | enabledFeatureMask |
| attribute long long ToiStorageDevicePartitionInfo::capacity |
Partition total capacity in bytes.
| attribute long ToiStorageDevicePartitionInfo::enabledFeatureMask |
| attribute long ToiStorageDevicePartitionInfo::featureCapabilityMask |
| attribute long long ToiStorageDevicePartitionInfo::freeCapacity |
Partition free capacity in bytes.
Partition fs check result from last reboot.
Identifier of the partition. Persistent between reboots if no change to partition.
| attribute boolean ToiStorageDevicePartitionInfo::isMounted |
True if partition has been mounted.
| attribute boolean ToiStorageDevicePartitionInfo::isReadWrite |
| attribute string ToiStorageDevicePartitionInfo::mountPoint |
The mount point directory.
| attribute string ToiStorageDevicePartitionInfo::uniqueId |
UUID of partition. This is a unique identifier that is persistent between reboots if no change to partitions is made.