Public Member Functions | |
PartitionInfo (const String &name, const std::vector< FstabEntry > &fstab_entries) | |
Read data about the partition. | |
DiskPartition * | GetDiskPartition (void) const |
Convert data to XML node. | |
Data Fields | |
String | device_name |
Name of the device. | |
String | device_path |
Full name of the device. | |
unsigned long long | size |
Size of the partition in bytes. | |
unsigned long long | free_space |
Free space on the partition in bytes. | |
String | file_system |
Name of the filesystem on partition. | |
String | mount_point |
Mount point of the partition. |
hwdet::LinuxDetector::PartitionInfo::PartitionInfo | ( | const String & | name, | |
const std::vector< FstabEntry > & | fstab_entries | |||
) |
Read data about the partition.
name | Name of the device. | |
fstab_entries | Entries from the fstab file. |
DiskPartition * hwdet::LinuxDetector::PartitionInfo::GetDiskPartition | ( | void | ) | const |
Name of the device.
Full name of the device.
Name of the filesystem on partition.
unsigned long long hwdet::LinuxDetector::PartitionInfo::free_space |
Free space on the partition in bytes.
Mount point of the partition.
unsigned long long hwdet::LinuxDetector::PartitionInfo::size |
Size of the partition in bytes.