MakeHFS: terabytes
Turns out HFS images could be *big* (up to 2 TB)
This commit is contained in:
parent
dbc950c5d6
commit
d3b0a52caf
|
@ -45,6 +45,8 @@ def imgsize(x):
|
||||||
factor = 1024*1024
|
factor = 1024*1024
|
||||||
elif x.endswith('G'):
|
elif x.endswith('G'):
|
||||||
factor = 1024*1024*1024
|
factor = 1024*1024*1024
|
||||||
|
elif x.endswith('T'):
|
||||||
|
factor = 1024*1024*1024*1024
|
||||||
else:
|
else:
|
||||||
factor = 1
|
factor = 1
|
||||||
x += 'b'
|
x += 'b'
|
||||||
|
|
Loading…
Reference in New Issue