mirror of
https://github.com/elliotnunn/machfs.git
synced 2025-02-16 08:30:59 +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…
x
Reference in New Issue
Block a user