KanoComputing / kano-burners

SD Card burner for OSX
GNU General Public License v2.0
12 stars 11 forks source link

[Linux] [Disk] Some disks are not listed when they should be #14

Closed radujipa closed 10 years ago

radujipa commented 10 years ago

The function get_sizes() uses parted to get the sizes of the disks. Sometimes parted 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.