From: Mike Frysinger Date: Fri, 23 Jan 2015 16:22:31 +0000 (-0500) Subject: backup-dvd: sync disk after each major step X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4ec333bca2f66a0f9bd67e1c367b31709ffb7814;p=home.git backup-dvd: sync disk after each major step --- diff --git a/.bin/backup-dvd b/.bin/backup-dvd index ef79dde..6dace17 100755 --- a/.bin/backup-dvd +++ b/.bin/backup-dvd @@ -130,6 +130,7 @@ backup_dvd() { if ! e dvdbackup -M "${opts[@]}" ; then e dvdbackup -F "${opts[@]}" || exit 1 fi + sync } # @@ -360,6 +361,7 @@ mkiso_dvd() { du -h "${out}/${Volume}.iso" sudo chattr +i "${out}/${Volume}.iso" + sync } ${doit_errors} && raw_read_dvd