From c2309c68062502aacb983da1f231bcfb53cda996 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 9 Apr 2019 15:54:18 +0206 Subject: dd-multi.sh: use dd features from stretch and 128M blocks All trainers are now using stretch (or higher), so use the status=progress feature. Also, increase the blocksize to 128M since that amount should be available on the cloning host. Signed-off-by: John Ogness --- lx-trainer-vm/dd-multi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lx-trainer-vm/dd-multi.sh b/lx-trainer-vm/dd-multi.sh index cb11656..9c4668b 100755 --- a/lx-trainer-vm/dd-multi.sh +++ b/lx-trainer-vm/dd-multi.sh @@ -134,8 +134,8 @@ 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, monitor with: sudo kill -s USR1 `pidof dd`' -dd if=$SRC_FILE bs=64M | tee $DESTS > /dev/null +echo 'writing image to disks' +dd if=$SRC_FILE bs=128M status=progress | tee $DESTS > /dev/null # fix partition table and add extra partition for dest in $DESTS; do -- cgit v1.2.3