5eff8ef
Simplify the partition detection Two levels of conditioning are unnecessary. Also, broken: this wouldn't detect the partitions correctly on devices that prepend 'n' to the partitions on devices other than mmcblk, such as loop devices.