ToiStorageDevicePartitionInfo Interface Reference


Description

This is the documentation for ToiStorageDevicePartitionInfo.
Information about a specific partition. Use toi.statics.ToiStorageDevicePartitionInfo.create(<id>, <uniqueId>, <isMounted>, <mountPoint>, <capacity>, <freeCapacity>, <fsStatus>, <isReadWrite>) to create an instance of ToiStorageDevicePartitionInfo. The following parameters in the create method are optional: <isReadWrite>. 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";

List of all members.

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

Member Data Documentation

Partition total capacity in bytes.

Partition free capacity in bytes.

Partition fs check result from last reboot.

Identifier of the partition. Persistent between reboots if no change to partition.

True if partition has been mounted.

Technical Preview:
TECHNICAL PREVIEW - This member may be removed. Read/Write status of the filesystem. Only valid if IsMounted is true. True if filesystem is mounted as read/write.

The mount point directory.

UUID of partition. This is a unique identifier that is persistent between reboots if no change to partitions is made.