From 524bad98d8f4220ed1d8407874e250b478c607ed Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 12 Jul 2019 15:50:19 +0100 Subject: [PATCH] Wait after partitioning --- disk_creator.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/disk_creator.sh b/disk_creator.sh index 90238b0..98dfea9 100755 --- a/disk_creator.sh +++ b/disk_creator.sh @@ -107,6 +107,9 @@ main() { type=20 EOF + # waiting to ensure disk has been re recognised after partitioning + sleep 10 + # Format each partition with the relevant filesystem. mkfs.ntfs --fast -L usbdata "${usb_drive}1" mkfs.fat -F 32 "${usb_drive}2" -- 2.46.2