From 4ec333bca2f66a0f9bd67e1c367b31709ffb7814 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 23 Jan 2015 11:22:31 -0500 Subject: [PATCH] backup-dvd: sync disk after each major step --- .bin/backup-dvd | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5