mirror of
https://github.com/elliotnunn/machfs.git
synced 2024-11-22 04:31:37 +00:00
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
|
||||
elif x.endswith('G'):
|
||||
factor = 1024*1024*1024
|
||||
elif x.endswith('T'):
|
||||
factor = 1024*1024*1024*1024
|
||||
else:
|
||||
factor = 1
|
||||
x += 'b'
|
||||
|
Loading…
Reference in New Issue
Block a user