From b4cca8978c7a2c075b60da67c85d4320703fcca0 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 9 Apr 2019 15:59:52 +0206 Subject: dd-multi.sh: inform the trainer how much to dd The dd step is the longest, so showing the progress is nice. But dd does not show how big the file is. Hard-code the size since we know how big it is. Signed-off-by: John Ogness --- lx-trainer-vm/dd-multi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lx-trainer-vm/dd-multi.sh b/lx-trainer-vm/dd-multi.sh index 9c4668b..78740f1 100755 --- a/lx-trainer-vm/dd-multi.sh +++ b/lx-trainer-vm/dd-multi.sh @@ -134,7 +134,7 @@ dd if=/dev/zero bs=10M count=1 2> /dev/null | tee $DESTS > /dev/null partprobe $DESTS # efficiently copy source to all destinations and rescan devices -echo 'writing image to disks' +echo 'writing image to disks (64GiB)' dd if=$SRC_FILE bs=128M status=progress | tee $DESTS > /dev/null # fix partition table and add extra partition -- cgit v1.2.3