The hack to find the number of sectors turns out to be sensitive to the host kernel. This is a workaround until we find something in /proc or /sys that has the same info in a more accessible way. Signed-off-by: Christopher Hall <hsw@openmoko.com>