[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Wrap a disk partition to make a disk
From: |
Tony Su |
Subject: |
Re: [Qemu-discuss] Wrap a disk partition to make a disk |
Date: |
Mon, 15 Sep 2014 12:23:20 -0700 |
You didn't state an objective that you want to share the partition
contents across systems. Ordinarily this is not an objective, the
only objective generally is to do a permanent migration.
Aside from the danger of doing that, you should then consider.
- Don't create a diskfile. Simply configure access to the raw file
system instead of within diskfiles.
- Plan9 protocol for sharing specified mount points between file
systems (eg a diskfile and a host file system)
Tony
On Mon, Sep 15, 2014 at 11:39 AM, Dale R. Worley <address@hidden> wrote:
>> From: Tony Su <address@hidden>
>>
>> I think what you're suggesting is commonly done by
>>
>> 1. Create an empty disk image
>> 2. dd the partition into the disk image
>
> I expect so, but if you do that, to restore the changed contents to
> where it was originally, you have to dd the parttition back out of the
> disk image afterward. Not to mention that you have to duplicate all
> that data.
>
> Dale