diff --git a/mk_mmc.sh b/mk_mmc.sh index 348d6b1..99e583d 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -811,14 +811,14 @@ function reset_scripts { } function check_mmc { - FDISK=$(sudo LC_ALL=C sfdisk -l 2>/dev/null | grep "[Disk] ${MMC}" | awk '{print $2}') + FDISK=$(sudo LC_ALL=C fdisk -l 2>/dev/null | grep "[Disk] ${MMC}" | awk '{print $2}') if test "-$FDISK-" = "-$MMC:-" then echo "" echo "I see..." - echo "sudo sfdisk -l:" - sudo LC_ALL=C sfdisk -l 2>/dev/null | grep "[Disk] /dev/" --color=never + echo "sudo fdisk -l:" + sudo LC_ALL=C fdisk -l 2>/dev/null | grep "[Disk] /dev/" --color=never echo "" echo "mount:" mount | grep -v none | grep "/dev/" --color=never @@ -830,8 +830,8 @@ function check_mmc { echo "" echo "Are you sure? I Don't see [${MMC}], here is what I do see..." echo "" - echo "sudo sfdisk -l:" - sudo LC_ALL=C sfdisk -l 2>/dev/null | grep "[Disk] /dev/" --color=never + echo "sudo fdisk -l:" + sudo LC_ALL=C fdisk -l 2>/dev/null | grep "[Disk] /dev/" --color=never echo "" echo "mount:" mount | grep -v none | grep "/dev/" --color=never