HWPartition

interface HWPartition

HWPartition represents a hardware partition on a storage device. It provides details about the partition such as its identification, name, type, UUID, size, and mount point.

Author

N7ghtm4r3

Inheritors

HWPartitionImpl

Properties

Link copied to clipboard
abstract val identification: String

identification The unique identifier of the partition.

Link copied to clipboard
abstract val major: Int

major The major number of the partition.

Link copied to clipboard
abstract val minor: Int

minor The minor number of the partition.

Link copied to clipboard
abstract val mountPoint: String

mountPoint The mount point of the partition (e.g., /, /home).

Link copied to clipboard
abstract val name: String

name The name of the partition.

Link copied to clipboard
abstract val size: Long

size The total size of the partition (in bytes).

Link copied to clipboard
abstract val type: String

type The type of the partition (e.g., ext4, NTFS).

Link copied to clipboard
abstract val uuid: String

uuid The UUID (Universally Unique Identifier) of the partition.