PartInfo.h
Go to the documentation of this file.
29 * While not a native feature of file systems, operating systems should also aim to align partitions correctly,
31 * A typical practice for personal computers is to have each partition aligned to start at a 1 MiB (= 1,048,576 bytes) mark,
32 * which covers all common SSD page and block size scenarios, as it is divisible by all commonly used sizes
50 static constexpr SysTypes fatTypes = SysType::fat12 | SysType::fat16 | SysType::fat32 | SysType::exfat;
146 Error validate(BasePartitionTable& table, storage_size_t firstAvailableBlock, storage_size_t totalAvailableBlocks,
String toString(Storage::Disk::SysType type)
Definition: Partition.h:78
Error validate(BasePartitionTable &table, storage_size_t firstAvailableBlock, storage_size_t totalAvailableBlocks, uint32_t blockSize)
Validate partition table entries.
SysIndicator
MBR partition system type indicator values.
Definition: PartInfo.h:56
SysType getSysTypeFromIndicator(SysIndicator si)
Definition: PartInfo.h:65
Adds information specific to MBR/GPT disk partitions.
Definition: PartInfo.h:85
Uuid uniqueGuid
GPT partition unique GUID.
Definition: PartInfo.h:87
SysType systype
Identifies volume filing system type.
Definition: PartInfo.h:88
size_t printTo(Print &p) const
Print full contents of this structure.
const Disk::DiskPart * diskpart() const override
Obtain additional disk information.
Definition: PartInfo.h:114