From 0db77f5a2b32ed0bc3587fa54bc078e286f16947 Mon Sep 17 00:00:00 2001 From: Frederick Grose Date: Thu, 6 Sep 2012 10:48:37 +0200 Subject: [PATCH] dmsquash-live/dmsquash-live-root.sh: Physically write overlay reset at time of request --- modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index f8bfca653..a7bb202b2 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -98,7 +98,7 @@ do_live_overlay() { if [ -f /run/initramfs/overlayfs$pathspec -a -w /run/initramfs/overlayfs$pathspec ]; then losetup $OVERLAY_LOOPDEV /run/initramfs/overlayfs$pathspec if [ -n "$reset_overlay" ]; then - dd if=/dev/zero of=$OVERLAY_LOOPDEV bs=64k count=1 2>/dev/null + dd if=/dev/zero of=$OVERLAY_LOOPDEV bs=64k count=1 conv=fsync 2>/dev/null fi setup="yes" fi -- 2.47.3