From: Frederick Grose Date: Mon, 9 Nov 2015 17:45:07 +0000 (-0800) Subject: dmsquash-live-root: Request overflow support for persistent snapshot. X-Git-Tag: 044~102^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F102%2Fhead;p=thirdparty%2Fdracut.git dmsquash-live-root: Request overflow support for persistent snapshot. --- diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index 531617e38..714e1dc00 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -171,7 +171,7 @@ do_live_overlay() { # Create a snapshot of the base image echo 0 $sz thin /dev/mapper/live-overlay-pool 0 $base | dmsetup create live-rw else - echo 0 $sz snapshot $base $over p 8 | dmsetup create live-rw + echo 0 $sz snapshot $base $over PO 8 | dmsetup create live-rw fi # Create a device that always points to a ro base image