mirror of
https://github.com/elliotnunn/machfs.git
synced 2024-06-02 05:41:34 +00:00
Display correct minimum disk size
This commit is contained in:
parent
a5b3a5823d
commit
2d99623911
|
@ -223,7 +223,7 @@ class Volume(AbstractFolder):
|
||||||
raise ValueError('align must be multiple of 512')
|
raise ValueError('align must be multiple of 512')
|
||||||
|
|
||||||
if size < 400 * 1024 or size % 512:
|
if size < 400 * 1024 or size % 512:
|
||||||
raise ValueError('size must be a multiple of 512b and >= 800K')
|
raise ValueError('size must be a multiple of 512b and >= 400K')
|
||||||
|
|
||||||
drVN = _encode_name(self.name, 'vol')
|
drVN = _encode_name(self.name, 'vol')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user