From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpzmW-0004Mg-Jm for qemu-devel@nongnu.org; Mon, 09 Dec 2013 07:17:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpzmO-0002rR-6E for qemu-devel@nongnu.org; Mon, 09 Dec 2013 07:17:48 -0500 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:50937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpzmN-0002ou-VG for qemu-devel@nongnu.org; Mon, 09 Dec 2013 07:17:40 -0500 Received: by mail-ea0-f170.google.com with SMTP id k10so1543355eaj.29 for ; Mon, 09 Dec 2013 04:17:38 -0800 (PST) Date: Mon, 9 Dec 2013 13:17:29 +0100 From: Stefan Hajnoczi Message-ID: <20131209121729.GA9611@stefanha-thinkpad.redhat.com> References: <52864C79.20800@gmail.com> <52864EEE.3000900@redhat.com> <52865824.7070600@redhat.com> <20131118133133.GB31173@stefanha-thinkpad.hitronhub.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] HMP: snapshot_blkdev can not consider //root/sn1 and /root/sn1 as the same file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jun muzi Cc: lcapitulino@redhat.com, qemu-devel@nongnu.org, Max Reitz 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