On Sat, Jun 11, 2005 at 07:23:49PM -0400, Michael Gilbert wrote:
> Package: qemu
> Version: 0.6.1+20050407-1
> Severity: wishlist
> 
> it would be very useful to be able to mount local directories within the
> qemu guest OS (rather than only being able to mount local disk images as
> qemu hard disks or using samba).  for example,
> 
>   qemu -hda /home/tux/os.img -mounthdb /home/tux/files

How should this be done?

The guest OS can only work with stuff, that looks like
"real hardware" to it.

It needs something, that looks like a "real harddisk".
With a "real partition table" and a "real filesystem".

Of course you can create a full fs image from the specified
directory, put it in /tmp and let qemu work against that.

qemu-make-debian-root is doing something like that for a
debian install.

For windows, you'd need to create a vfat image (as ntfs
support is still an issue).

Any changes to the temporary image would be lost after
shutting down qemu. Unless you unpack the image after
shutdown of qemu and put it back in the real fs.


All of the above sounds like a big script, that should be
put around qemu.


    Elrond


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to