From: Harald Hoyer Date: Thu, 4 Mar 2010 12:56:58 +0000 (+0100) Subject: dmsquash-live: use --getsize64 instead of --getsize X-Git-Tag: 005~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aab70adc0b4053db1b792df4ec5294a8e7f24cc5;p=platform%2Fupstream%2Fdracut.git dmsquash-live: use --getsize64 instead of --getsize --- diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root index f40e048..e2e3ef8 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root +++ b/modules.d/90dmsquash-live/dmsquash-live-root @@ -96,7 +96,7 @@ do_live_overlay() { fi # set up the snapshot - echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 | dmsetup create $readonly_overlay live-rw + echo 0 `blockdev --getsize64 $BASE_LOOPDEV` snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 | dmsetup create $readonly_overlay live-rw } # live cd helper function @@ -169,7 +169,7 @@ fi if [ -b "$OSMIN_LOOPDEV" ]; then # set up the devicemapper snapshot device, which will merge # the normal live fs image, and the delta, into a minimzied fs image - echo "0 $( blockdev --getsize $BASE_LOOPDEV ) snapshot $BASE_LOOPDEV $OSMIN_LOOPDEV p 8" | dmsetup create --readonly live-osimg-min + echo "0 $( blockdev --getsize64 $BASE_LOOPDEV ) snapshot $BASE_LOOPDEV $OSMIN_LOOPDEV p 8" | dmsetup create --readonly live-osimg-min fi ln -s /dev/mapper/live-rw /dev/root