On 02/26/2010 09:23 PM, Karel Zak wrote:
On Fri, Feb 26, 2010 at 09:44:29AM -0500, Joey Boggs wrote:
      # set up the snapshot
-    echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV 
$OVERLAY_LOOPDEV p 8 | dmsetup create live-rw
+    echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV 
$OVERLAY_LOOPDEV p 8 | dmsetup create $readonly_overlay live-rw
                ^^^^^^^^^^^^^^^^^

  Don't use --getsize, this option is deprecated and it's based
  on BLKGETSIZE ioctl that returns *32-bit* sector count (= 2TiB only).

  Please, use --getsz. For more details see blockdev(8) man page.

     Karel


patched to use --getsize64
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to