Lines Matching refs:partition
85 // partition table entries
98 uint8_t partition[16] = {
101 type, // partition type
109 ((uint32_t *)partition)[2] = partitionOffset;
110 ((uint32_t *)partition)[3] = (uint32_t)(size / kSectorSize);
116 ssize_t written = pwrite(handle, partition, 16, 512 - 2 - 16 * (4 - index));
117 checkError(written != 16, "failed to write partition entry");
122 checkError(written != 4, "failed to make partition bootable");
185 "invalid partition index, valid range is 0-3");
204 // Just a warning. This is technically valid since MBR partition