MakeHFS: terabytes

Turns out HFS images could be *big* (up to 2 TB)
This commit is contained in:
Elliot Nunn 2018-12-10 16:10:43 +08:00
parent dbc950c5d6
commit d3b0a52caf
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ def imgsize(x):
factor = 1024*1024
elif x.endswith('G'):
factor = 1024*1024*1024
elif x.endswith('T'):
factor = 1024*1024*1024*1024
else:
factor = 1
x += 'b'