MBR.h
Go to the documentation of this file.
47 new PartInfo(nullptr, fatTypes[sysType] ? Partition::SubType::Data::fat : Partition::SubType::Data::any,
Base class for sector-addressable (block) devices.
Definition: BlockDevice.h:34
Definition: MBR.h:31
bool add(SysType sysType, SysIndicator sysIndicator, storage_size_t offset, storage_size_t size, Partition::Flags flags=0)
Add a new MBR partition definition.
Definition: MBR.h:43
Definition: Partition.h:78
SysIndicator
MBR partition system type indicator values.
Definition: PartInfo.h:56
Error formatDisk(BlockDevice &device, GPT::PartitionTable &table, const Uuid &diskGuid={})
Partition a device using the GPT scheme.