Add sleep before creating filesystem

In some computers mkfs try to creating filesystem, before kernel update partition table.
This commit is contained in:
joda17 2015-01-10 16:24:50 +01:00
parent bf42102acb
commit 2a6233d507

View File

@ -207,7 +207,8 @@ echo "#########################################################"
# tell kernel we have a new partition table
echo "telling kernel we have a new partition table..."
partprobe "$DISK"
sleep 1
# create filesystem
echo "creating filesystem on $PART1..."
mkfs.vfat "$PART1" -I -n System