qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: jun muzi <junmuzi@gmail.com>
Cc: lcapitulino@redhat.com, qemu-devel@nongnu.org,
	Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] HMP: snapshot_blkdev can not consider //root/sn1 and /root/sn1 as the same file
Date: Mon, 9 Dec 2013 13:17:29 +0100	[thread overview]
Message-ID: <20131209121729.GA9611@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <CAB5ADv9h_9t6MwykG+nYx5hkLYJ1_+Vt5jtuBmc3vvneWTyAfg@mail.gmail.com>

On Mon, Dec 09, 2013 at 02:06:21PM +0800, jun muzi wrote:
> If mount a local file(disk) in two different dirctories, it is similar to the
> network storage. Detecting identical "files" is still a problem.
> Such as:
> dd if=/dev/zero of=aa bs=1M count=10
> mkfs.ext4 aa
> Then mount aa to two directories.
> mount aa /mnt/dir1
> mount aa /mnt/dir2

(Off-topic, but you should never mount a regular file system read/write
more than once at a time.  This example is wrong, it can corrupt the
file system.)

My question was about the bug.  What is the problem you are seeing and
how do you reproduce it (including the HMP commands)?

Stefan

  reply	other threads:[~2013-12-09 12:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 16:31 [Qemu-devel] [PATCH] HMP: snapshot_blkdev can not consider //root/sn1 and /root/sn1 as the same file lijun
2013-11-15 16:42 ` Max Reitz
2013-11-15 17:21   ` Eric Blake
2013-11-18 13:31     ` Stefan Hajnoczi
2013-12-09  6:06       ` jun muzi
2013-12-09 12:17         ` Stefan Hajnoczi [this message]
2013-12-10 13:58           ` lijun
2014-01-02  8:55             ` Stefan Hajnoczi
2014-01-02 13:06               ` Eric Blake
  -- strict thread matches above, loose matches on Subject: below --
2013-11-15 16:22 lijun
2013-11-15 16:55 ` Eric Blake

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=20131209121729.GA9611@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=junmuzi@gmail.com \
    --cc=lcapitulino@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).