Revision b0376b3f image_creator/gpt.py
b/image_creator/gpt.py | ||
---|---|---|
296 | 296 |
d.write(self.mbr.pack()) |
297 | 297 |
d.write(self.primary.pack()) |
298 | 298 |
d.write('\x00' * (BLOCKSIZE - self.primary.size())) |
299 |
d.write(self.part_entries) |
|
299 | 300 |
d.seek(self.secondary.part_entry_start * BLOCKSIZE) |
300 | 301 |
d.write(self.part_entries) |
301 | 302 |
d.seek(self.primary.backup_lba * BLOCKSIZE) |
Also available in: Unified diff