disk_config: '10-50GB' = 10Mib..50GB

Thomas Neumann blacky+fai at fluffbunny.de
Sun Oct 13 12:23:54 CEST 2013


Hello

Maybe you are already aware of it, maybe this is something new to you. I've 
seen '<min>-<max><unit>' a couple of times in different variations. But it 
may not mean what you think it does.

setup-storage parses the values before and after the dash as 2 different 
entities. Although to a human reader '10-50GB' is likely to mean '10 to 50 
GB', to setup-storage it means '10MiB to 50GB'. If you really want to 
specify '10 to 50GB', then it needs to be written as '10GB-50GB'.

(The confusion results from setup-storage treating a unit-less value as 
Mebibytes/MiB.)

bye
thomas


More information about the linux-fai mailing list