All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Joey Boggs <jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] add readonly overlay support for dmsquash
Date: Thu, 04 Mar 2010 14:07:49 +0100	[thread overview]
Message-ID: <4B8FB0A5.2090309@redhat.com> (raw)
In-Reply-To: <20100226202326.GG8702-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>

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

  parent reply	other threads:[~2010-03-04 13:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 14:44 [PATCH] add readonly overlay support for dmsquash Joey Boggs
     [not found] ` <1267195469-32522-1-git-send-email-jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-02-26 20:23   ` Karel Zak
     [not found]     ` <20100226202326.GG8702-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2010-03-04 13:07       ` Harald Hoyer [this message]
     [not found]         ` <4B8FB0A5.2090309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-03-04 14:16           ` Karel Zak
     [not found]             ` <20100304141633.GA18077-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2010-03-04 14:28               ` Harald Hoyer
2010-03-04 13:07   ` Harald Hoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8FB0A5.2090309@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.