diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-09 10:52:26 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-09 10:52:26 -0500 |
commit | 5c4673ccc7ccbc8adb0e75dcb24886ea0ce7056d (patch) | |
tree | 8b02de8738fa23f40c64bd629e18ee49dd4fbafc | |
parent | 90ed9dc29541564a75589ffb746520f7011a0b98 (diff) | |
download | squashfu-5c4673ccc7ccbc8adb0e75dcb24886ea0ce7056d.tar.gz |
Force pseudo link flush after rsync runs
-rwxr-xr-x | squashfu | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -181,6 +181,11 @@ run_rsync() { debug " Includes: ${INCLUDES[@]}" debug " Excludes: ${EXCLUDES[@]}" rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} ${BKUP_ROOT}/rw + + # Force flush of pseudo links on branches to ensure clean dismount + # Our umount.aufs helper can do this for us, but it doesn't handle + # rsync hangups very well. + auplink "${BKUP_ROOT}/rw" flush } save_old_tree () { |