Check if device is nvme or mmcblk for partitionilng
This makes sure that mmcblk devices also use the p1/p2 partitioning numbering unlike other block devices, making automatic partitioning work for those devices.
This makes sure that mmcblk devices also use the p1/p2 partitioning numbering unlike other block devices, making automatic partitioning work for those devices.