bugfix: zero out first part of sd media

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent afeae621db
commit 633b84def1

@ -1094,6 +1094,9 @@ function unmount_all_drive_partitions {
umount ${DRIVE} &> /dev/null || true
done
echo "Zeroing out Partition Table"
dd if=/dev/zero of=${MMC} bs=1024 count=1024
sync
LC_ALL=C parted --script ${MMC} mklabel msdos || drive_error_ro
}

Loading…
Cancel
Save