The function get_sizes() uses parted to get the sizes of the disks. Sometimes parted uses MB when the value could be converted to GBe.g. 7693MB.
Initially, it was assumed that parted converts to GB if possible and if the value was in MB, the disk should be ignored because it would've been too small to use anyway.
The function
get_sizes()
usesparted
to get the sizes of the disks. Sometimesparted
uses MB when the value could be converted to GB e.g. 7693MB.Initially, it was assumed that
parted
converts to GB if possible and if the value was in MB, the disk should be ignored because it would've been too small to use anyway.