42
43
def partition(infile, outfile, local_bytes=0, resize=True,
43
44
local_type='ext2', execute=None):
47
48
The first 63 sectors (0-62) of the resulting image is a master boot record.
48
49
Infile becomes the first primary partition.
49
50
If local bytes is specified, a second primary partition is created and
60
64
file_size = os.path.getsize(infile)