Revision 5b801534 image_creator/gpt.py
b/image_creator/gpt.py | ||
---|---|---|
232 | 232 |
def __init__(self, disk): |
233 | 233 |
self.disk = disk |
234 | 234 |
with open(disk, "rb") as d: |
235 |
#MBR (Logical block address 0) |
|
235 |
# MBR (Logical block address 0)
|
|
236 | 236 |
lba0 = d.read(BLOCKSIZE) |
237 | 237 |
self.mbr = MBR(lba0) |
238 | 238 |
|
Also available in: Unified diff